-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid token after top level declarator #7
Comments
Yeah, I got this error after upgrading to xcode 3.2.4. Under build settings, try changing the compiler from llvm 1.5 to llvm-gcc4.2. That fixed it for me. |
Actually, you can keep llvm 1.5, and just add the following to Other C Flags in your project's build settings: -D__IPHONE_OS_VERSION_MIN_REQUIRED=040100 where you replace 040100 with your deployment target version (030000 for 3.0, for example). See http://stackoverflow.com/questions/3677879/strange-issue-after-upgrading-to-ios-4-1-sdk |
I'm having the same problem. I've tried changing the build settings to add the Other C Flags, double and tripple checked the build settings, messed with the compiler type. I can't get it to build in the simulator. It seems to work fine on the device however. |
I'm also having this problem :/ The build settings config didn't work. |
I couldn't build the iphone demo SnapAndRun. When i compile i have this error :
invalid token after top level declarator
SCSchemaDefinition.h:3959
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
Could you help me ?
The text was updated successfully, but these errors were encountered: