-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
XCode 4.1 / Lion: Expected declaration specifiers #24
Comments
I've not seen these errors. Can you paste the whole error message from Xcode? |
Thanks for the fast reply, here is the error: ProcessPCH /Users/tmie/Library/Developer/Xcode/DerivedData/MyBodyGuard-dfcrbzkfzxhtyjfqlchyqhscluzu/Build/PrecompiledHeaders/MyBodyGuard-Prefix-hafyhrybdqfyrwbqwboiyzaaarcz/MyBodyGuard-Prefix.pch.gch MyBodyGuard/MyBodyGuard-Prefix.pch normal i386 objective-c com.apple.compilers.llvmgcc42 In file included from /Users/tmie/git/xcode/MyBodyGuard/MyBodyGuard/MyBodyGuard-Prefix.pch:14: |
I have no idea. |
I upgraded to xcode 4.2 and it works again. Issue closed. |
hi brother,I also encountered this problem, how did you solve it |
I had a similar issue with my own project and fixed it by switching to the Apple LLVM compiler 3.0. Leaving this here for anyone who gets here via google, like I did. |
We encountered a similar issue in our project and using a #import <sqlite3.h> instead of #import "/usr/include/sqlite3.h" did the trick. Thanks to Maria in this post : http://www.linkedin.com/groups/SQLite3-Lion-121874.S.62966926 Not sure this helps, but for others who reach here like me. |
Until yesterday I had no problems using FMDB, but today I upgraded to Lion/xcode4.1
and I get tons of errors before every method declaration in the FMDB Classes like:
"Expected declaration specifiers before '+' token"
Do I miss something here?
The text was updated successfully, but these errors were encountered: