Thanks, Simon:

   In Xcode 3.1.3 when I highlight SQLite3.c, click the Info icon and look 
under the General Tab, and then click the File Type dropdown there are perhaps 
sixty to seventy choices I can make, but only a few make any sense, some more 
than others.  They are:

sourcecode.c
sourcecode.c.c
sourcecode.c.h
sourcecode.c.objc
sourcecode.cpp
sourcecode.cpp.cpp
sourcecode.cpp.h
sourcecode.cpp.objcpp

The default filetype for SQLite3.c was sourcecode.c.c.  The default filetype 
for SQLite3.h was sourcode.c.c

For grins I looked at a .CPP file and its file type was sourcecode.cpp.cpp

Any thoughts?

R,
John

.
> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
> On Behalf Of Simon Slavin
> Sent: Monday, May 16, 2011 4:32 PM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] Compiling in Xcode 3.1.3
> 
> 
> 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
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to