• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error: unknown type name 'BOOL'; did you mean 'BOOL'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: unknown type name 'BOOL'; did you mean 'BOOL'?


  • Subject: Re: error: unknown type name 'BOOL'; did you mean 'BOOL'?
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Sun, 16 Oct 2011 08:40:16 -0700

On 2011/10/13, at 2:40, Jeffrey Walton wrote:

> On Thu, Oct 13, 2011 at 1:55 AM, Jeffrey Walton <email@hidden> wrote:
>> I'm actually getting this message in Xcode 4.2 (Xcode 3.2.6 was fine):
>>
>>    error: unknown type name 'BOOL'; did you mean 'BOOL'?
>>
>> Does anyone know what's going on?
> Apple disregarded my 3.2.6 projects settings and decided to use LLVM
> 3.0 rather than GCC 4.2 (I had specifically set the project to use GCC
> due to my use of GCC warnings and flags).

Have you filed a bug?

> After I changed 'Build
> Settings' -> 'Compile for C/C++/Objective' back to GCC 4.2, it worked.

If you're attempting to use GCC 4.2 with Xcode 4.2, you're definitely in unsupported territory. Xcode no longer ships with, or supports building with, GCC. You should be able to use LLVM-GCC though (which uses the GCC frontend with the LLVM backend)

--
Clark S. Cox III
email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >error: unknown type name 'BOOL'; did you mean 'BOOL'? (From: Jeffrey Walton <email@hidden>)
 >Re: error: unknown type name 'BOOL'; did you mean 'BOOL'? (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Re: Apple ID works on iTunes, App Store - won't work on Apple Developer Site
  • Next by Date: Re: Apple ID works on iTunes, App Store - won't work on Apple Developer Site
  • Previous by thread: Re: error: unknown type name 'BOOL'; did you mean 'BOOL'?
  • Next by thread: Unit testing C code
  • Index(es):
    • Date
    • Thread