While upgrading from an older SQLite 3.4.2, I stuble upon the following build problem.
me\sqlite3\btree.c:61: error: expected ';', ',' or ')' before '-' token mingw32-make: *** [obj-i386\me\sqlite3\btree_sqlite3.o] Error 1 btw. I read the upgrade guide: http://sqlite.org/34to35.html ... although I haven't found anything that affects me; beside the fact that a significant part of SQLite code got rewritten, ... and I am experience build problems now. Has someone experienced similar build problems with 3.5.9 or more generally during the upgrading process from 3.4.x to 3.5.x ? I am using mingw (gcc 4.1.3 20071015; GNU Binutils 2.18.50.20071015) on Win32 (WinNT 5.1) and the following source package http://sqlite.org/sqlite-source-3_5_9.zip (source preprocessed for win32); btw. the amalgamation package is not an option in my case, and I hadn't had any problems with the normal preprocessed package with SQLite 3.4.x. I have written my own build script, as my environment provides a custom xml based build script language, which gets generated to a makefile. I have set the following pre-processer define's : "__USE_W32API" "SQLITE_DEFAULT_AUTOVACUUM" = 1 "SQLITE_CORE" = 1 "SQLITE_AMALGAMATION" = 0 "disable-tcl" "disable-debug" "enable-threadsafe" "enable-releasemode" "disable-static" ... which worked fine with SQLite 3.4.x releases. Klemens Full build log: [CC] me\sqlite3\alter.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\analyze.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\attach.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\auth.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\bitvec.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\btmutex.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition [CC] me\sqlite3\btree.c <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:7: warning: missing whitespace after the macro name <command line>:1:1: warning: "enable" redefined <command line>:1:1: warning: this is the location of the previous definition <command line>:1:8: warning: missing whitespace after the macro name <command line>:1:1: warning: "disable" redefined <command line>:1:1: warning: this is the location of the previous definition me\sqlite3\btree.c:61: error: expected ';', ',' or ')' before '-' token mingw32-make: *** [obj-i386\me\sqlite3\btree_sqlite3.o] Error 1 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users