Re: [sqlite] Amalgamation and g++

2007-12-16 Thread Mike Owens
This is not a link issue, but a compiler one. SQLite is ANSI C, so you should compile it with gcc. It will still be usable within your C++ library/project, as sqlite3.h qualifies all functions extern "C". For example, given a C++ file main.cpp: #include int main() { sqlite3* db; sqlite3

[sqlite] Amalgamation and g++

2007-12-16 Thread David Gelt
Hi there, I have compiled version 3.5.2 of the amalgamation in C without any errors or warnings but when I am trying to do the same in C++ using g++ I keep getting lots of errors and warnings. I have -ldl -lpthread in Makefile and running Fedora Core 6. Here are some reported errors and warnin