Re: error: unknown type name 'BOOL'; did you mean 'BOOL'?
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