Noted that this error happened only for the NSString*, for e.g.,
extern double const kTimeout; // fine
extern NSString* const kImageType; // compile error
"Foundation/Foundation.h"
Source:http://stackoverflow.com/questions/990906/iphone-error-expected-asm-or-attribute-before-foo
No comments:
Post a Comment