On 16 May 2011, at 10:09pm, john darnell wrote:

> I highlighted the file, clicked the information icon and then under the 
> "General" category I changed the type of file from "sourcecode.c.c" to 
> "sourcecode.c."   When pressing Command-K I get no errors but one warning: 
> "Warning, no rule to process sqlite3.c of type sourcecode.c for architecture 
> i386"

I had no problems with compiling the Amalgamation source code under Xcode 3.x.  
I've since moved to Xcode 4.0 so I can no longer tell you what my settings were 
but I never saw a '.c.c' extension, I just had to make sure the 'File Type' for 
sqlite3.c was 'C source', not 'Objective-C++ source', and that similarly 'File 
Type' for sqlite3.h was 'C header' not 'C++ header'.

The only thing I'm getting in Xcode 4.0 with LLVM GCC 4.2 is some 'Unused 
Entity' warnings and I have no problem with those: they're right, and they're 
just warnings.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to