@class causing grief
@class causing grief
- Subject: @class causing grief
- From: Scott Squires <email@hidden>
- Date: Tue, 18 Mar 2008 00:32:07 -0700
I'm starting to go in circles at this point.
I know I've got a number of interconnecting files.
Since I was getting errors I replaced the #import as much as possible
with @class defines
I'm still getting the following error:
error: syntax error before 'AT_NAME' token
This indicates @class myClass; in the following examples.
Most of these work fine but if I end up swapping #import instead then
other areas break the compiler.
Any suggestions on areas to look at (missing @end or something else?)
Thanks.
example:
#import <stdStuff/stdStuff.h>
@class myClass;
@interface anotherClass : NSObject
{
myClass *theMyClassObject;
}
@end
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden