I recently opened an existing project from a time before I installed Xcode 4.1. At first there were many errors and I corrected the problem by chosing LLVM 2.1 as the option for the compiler. All of the errors but one have been cleared up, in sqlite3.h this line is causing a problem:
SQLITE_API int sqlite3_enable_shared_cache(int) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_2_0, __IPHONE_5_0);
The error message reads:
Expected function body after function declarator.
Any help is greatly appreciated,
Thanks!