Re: [sqlite] Slight incompatibility of v. 3.16.2 from previous releases (compiler error)
On 01/30/2017 05:39 PM, a...@zator.com wrote: Hi list: Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a linker error: Error LNK2019 external simbol _sqlite3FkReferences unresolved in function _sqlite3Insert Who belong (I suppose) to a compiler warning: line 109039: warning C4013: 'sqlite3FkReferences' undefined I use the following config.h, who compiles Ok with v. 3.9.1 and earlier. #define ZENABLE_FTS5 #define SQLITE_MAX_VARIABLE_NUMBER 25 #define SQLITE_DEFAULT_PAGE_SIZE 1024 #define SQLITE_THREADSAFE 1 #define SQLITE_OMIT_PROGRESS_CALLBACK 1 #define SQLITE_OMIT_FOREIGN_KEY 1 #define SQLITE_OMIT_AUTOVACUUM 1 #define SQLITE_OMIT_EXPLAIN 1 #define SQLITE_SECURE_DELETE 1 #define SQLITE_OMIT_BUILTIN_TEST 1 #define SQLITE_OMIT_TRACE 1 #define SQLITE_ENABLE_FTS5 1 Any clue of how surpass with a minimal distortion in the config file would be appreciated. Removing the "SQLITE_OMIT_FOREIGN_KEY" line would probably fix things. Or grab the one-line patch from here: http://www.sqlite.org/src/info/e93d2c49a44af994 Dan. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] Slight incompatibility of v. 3.16.2 from previous releases (compiler error)
Hi list: Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a linker error: Error LNK2019 external simbol _sqlite3FkReferences unresolved in function _sqlite3Insert Who belong (I suppose) to a compiler warning: line 109039: warning C4013: 'sqlite3FkReferences' undefined I use the following config.h, who compiles Ok with v. 3.9.1 and earlier. #define ZENABLE_FTS5 #define SQLITE_MAX_VARIABLE_NUMBER 25 #define SQLITE_DEFAULT_PAGE_SIZE 1024 #define SQLITE_THREADSAFE 1 #define SQLITE_OMIT_PROGRESS_CALLBACK 1 #define SQLITE_OMIT_FOREIGN_KEY 1 #define SQLITE_OMIT_AUTOVACUUM 1 #define SQLITE_OMIT_EXPLAIN 1 #define SQLITE_SECURE_DELETE 1 #define SQLITE_OMIT_BUILTIN_TEST 1 #define SQLITE_OMIT_TRACE 1 #define SQLITE_ENABLE_FTS5 1 Any clue of how surpass with a minimal distortion in the config file would be appreciated. -- Adolfo J. Millán Zator Systems ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users