Hi again, from sqlite4.h:
_SQLITE3RTREE_H_ collides with sqlite3.h, causing ODR violations when both headers are included (as is the case in my abstraction layer's amalgamation build). i've patched that locally but now i'm seeing similar collisions with other symbols: /home/stephan/include/sqlite4.h:163:0: error: "SQLITE_SOURCE_ID" redefined [-Werror] /home/stephan/include/sqlite3.h:112:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:2698:0: error: "SQLITE_STATIC" redefined [-Werror] /home/stephan/include/sqlite3.h:3975:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:2699:0: error: "SQLITE_TRANSIENT" redefined [-Werror] /home/stephan/include/sqlite3.h:3976:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3747:0: error: "SQLITE_TESTCTRL_FIRST" redefined [-Werror] /home/stephan/include/sqlite3.h:5616:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3748:0: error: "SQLITE_TESTCTRL_FAULT_INSTALL" redefined [-Werror] /home/stephan/include/sqlite3.h:5621:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3749:0: error: "SQLITE_TESTCTRL_ASSERT" redefined [-Werror] /home/stephan/include/sqlite3.h:5624:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3750:0: error: "SQLITE_TESTCTRL_ALWAYS" redefined [-Werror] /home/stephan/include/sqlite3.h:5625:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3751:0: error: "SQLITE_TESTCTRL_RESERVE" redefined [-Werror] /home/stephan/include/sqlite3.h:5626:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3752:0: error: "SQLITE_TESTCTRL_OPTIMIZATIONS" redefined [-Werror] /home/stephan/include/sqlite3.h:5627:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3753:0: error: "SQLITE_TESTCTRL_ISKEYWORD" redefined [-Werror] /home/stephan/include/sqlite3.h:5628:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3754:0: error: "SQLITE_TESTCTRL_LOCALTIME_FAULT" redefined [-Werror] /home/stephan/include/sqlite3.h:5631:0: note: this is the location of the previous definition /home/stephan/include/sqlite4.h:3756:0: error: "SQLITE_TESTCTRL_LAST" redefined [-Werror] /home/stephan/include/sqlite3.h:5632:0: note: this is the location of the previous definition In file included from cpdo_amalgamation.cpp:3417:0: /home/stephan/include/sqlite3.h:252:3: error: ISO C++ 1998 does not support ‘long long’ [-Werror=long-long] /home/stephan/include/sqlite3.h:253:3: error: ISO C++ 1998 does not support ‘long long’ [-Werror=long-long] In file included from cpdo_amalgamation.cpp:4400:0: /home/stephan/include/sqlite4.h:285:3: error: ISO C++ 1998 does not support ‘long long’ [-Werror=long-long] /home/stephan/include/sqlite4.h:286:3: error: ISO C++ 1998 does not support ‘long long’ [-Werror=long-long] -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users