Re: Completely broken XCode
Re: Completely broken XCode
- Subject: Re: Completely broken XCode
- From: Steve Christensen <email@hidden>
- Date: Thu, 25 Jan 2007 07:05:20 -0800
On Jan 25, 2007, at 3:02 AM, 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.
If you look at your projects (or target's) build settings, what's
"Compile Sources As" set to? I'd guess that it was set to straight C,
so the compiler would be getting confused when it runs across Obj-C
semantics.
And, as mentioned by others, this is an Xcode issue, not a Cocoa issue.
steve
_______________________________________________
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