On 18 Mar '08, at 12:32 AM, Scott Squires wrote:

I'm still getting the following error:
error: syntax error before 'AT_NAME' token
...
#import <stdStuff/stdStuff.h>
@class myClass;

(1) Does "stdStuff.h" include the AppKit, Foundation or Cocoa framework headers? If not, then NSObject itself hasn't been declared.

(2) Inexplicable syntax errors reported on the line following an #import or #include are often caused by a mistake on the _previous_ statement seen by the compiler, i.e. at the end of the imported headers. A missing ";" at the end of a declaration is a common source of these. So have a look at the bottom of stdStuff.h.

—Jens

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to