On 14 Jun 2017, at 6:55pm, Clemens Ladisch <[email protected]> wrote:

> Jeff Archer wrote:
>> I have just grabbed the sqlite3.c and sqlite3.h from another (working)
>> project and dropped then into a new project and I am seeing compile errors.
>> 
>> New project is a C++ project
> 
> SQLite is not C++ but C.

But most compilers can cope with both in the same project.  Just make sure that 
your compiler compiles files with ".c" extension as C and not C++.

This problem is especially bad on Apple devices, since many people use ".c" as 
an extension for C++ files, when Apple’s compiler assumes they’ll use ".cpp".

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to