The new loadable extensions cause a range of errors compiling the
plain-source file, sqlite-source-3_3_7. Not a problem for me as I'm
omitting them with -DSQLITE_OMIT_LOAD_EXTENSION, but log is below:

$ unzip sqlite-source-3_3_7.zip
$ mv tclsqlite.c tclsqlite.c.not
$ gcc -c *.c 2>log

In file included from loadext.c:18:
sqlite3ext.h:78: error: parse error before '*' token
In file included from loadext.c:19:
sqliteInt.h:501: error: parse error before 'sqlite3_vtab'
sqliteInt.h:501: warning: no semicolon at end of struct or union
sqliteInt.h:512: error: parse error before '}' token
sqliteInt.h:582: warning: no semicolon at end of struct or union
sqliteInt.h:582: error: parse error before '*' token
sqliteInt.h:585: error: parse error before '}' token
sqliteInt.h:730: error: parse error before 'sqlite3_vtab'
sqliteInt.h:730: warning: no semicolon at end of struct or union
sqliteInt.h:735: error: parse error before '}' token
sqliteInt.h:1157: error: parse error before 'sqlite3_index_info'
sqliteInt.h:1157: warning: no semicolon at end of struct or union
sqliteInt.h:1163: warning: data definition has no type or storage class
sqliteInt.h:1164: error: parse error before '}' token
sqliteInt.h:1180: error: parse error before 'sqlite3_index_info'
sqliteInt.h:1180: warning: no semicolon at end of struct or union
sqliteInt.h:1181: error: array type has incomplete element type
sqliteInt.h:1182: error: parse error before '}' token
sqliteInt.h:1870: error: parse error before 'sqlite3_vtab'
loadext.c:132: error: 'sqlite3_column_value' undeclared here (not in a function)
loadext.c:140: error: 'sqlite3_create_module' undeclared here (not in
a function)
loadext.c:143: error: 'sqlite3_declare_vtab' undeclared here (not in a function)
loadext.c:151: warning: initialization from incompatible pointer type
loadext.c:161: error: 'sqlite3_malloc' undeclared here (not in a function)
loadext.c:169: error: 'sqlite3_realloc' undeclared here (not in a function)
loadext.c: In function 'sqlite3_enable_load_extension':
loadext.c:348: error: dereferencing pointer to incomplete type
loadext.c:350: error: dereferencing pointer to incomplete type
vtab.c: In function 'addArgumentToVtab':
vtab.c:142: warning: pointer targets in initialization differ in signedness

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to