• 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: Completely broken XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Completely broken XCode (From: <email@hidden>)

  • Prev by Date: Re: Serial key Framework for cocoa?
  • Next by Date: Re: Change current process priority
  • Previous by thread: Completely broken XCode
  • Next by thread: Re: Completely broken XCode
  • Index(es):
    • Date
    • Thread