Re: Completely broken XCode
Re: Completely broken XCode
- Subject: Re: Completely broken XCode
- From: <email@hidden>
- Date: Thu, 25 Jan 2007 12:47:15 +0000
On Thu, 25 Jan 2007 13:32:47 +0100, Tommy Nordgren <email@hidden> wrote:
>
> On 25 jan 2007, at 12.02, <email@hidden> <email@hidden> wrote:
>
>>
>> I can not compile anything in XCode, I get a stack of errors like
>> the following:
>> error: parse error before "__attribute__"
>> In quite a few files, for example NSCoder.h and NSObject.h
>> Also
>> error: parse error '@' token
>>
>> This is with an empty project, I've just created a new one, not
>> changed a thing, hit Build and Go, and errors appear.
>>
>> Have I got some defaults I need to reset or something simple? I
>> don't seem to be able to find anything useful on Google.
>>
>> Thanks for any help you can offer.
>>
>> _______________________________________________
> Are you including/importing your header in a file with suffix .c
> or .cp?
> You must use .m or .mm to include cocoa headers
> -------------------------------------
> This sig is dedicated to the advancement of Nuclear Power
> Tommy Nordgren
> email@hidden
the only file I have is the default main.m. This is a completely fresh project, started from scratch.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden