Re: [sqlite] 3.5.5 Compilation failure / Bug

2008-02-04 Thread drh
Ken <[EMAIL PROTECTED]> wrote:
> Amalgamation fails to compile when -DSQLITE_OMIT_VIEW is defined.
> 

Neither the nor the preprocessed sources work with -DSQLITE_OMIT macros. 
If you need to use -DSQLITE_OMIT, then you will need to compile on
Unix using the original source code.

Both the amalgamation and the preprocessed sources contain
generated C code and the code generators have to know about
the -DSQLITE_OMIT macros.

--
D. Richard Hipp <[EMAIL PROTECTED]>

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] 3.5.5 Compilation failure / Bug

2008-02-04 Thread Ken

Amalgamation fails to compile when -DSQLITE_OMIT_VIEW is defined.

./sqliteSrc/sqlite-3.5.5/sqlite3.c: In function 'sqlite3Insert':
../sqliteSrc/sqlite-3.5.5/sqlite3.c:55512: error: syntax error before numeric 
constant
../sqliteSrc/sqlite-3.5.5/sqlite3.c:55543: error: invalid lvalue in assignment
../sqliteSrc/sqlite-3.5.5/sqlite3.c: In function 
'sqlite3GenerateConstraintChecks':
../sqliteSrc/sqlite-3.5.5/sqlite3.c:56323: warning: cast to pointer from 
integer of different size
../sqliteSrc/sqlite-3.5.5/sqlite3.c: In function 'sqlite3_get_table':
../sqliteSrc/sqlite-3.5.5/sqlite3.c:63649: warning: cast to pointer from 
integer of different size
../sqliteSrc/sqlite-3.5.5/sqlite3.c: In function 'sqlite3_free_table':
../sqliteSrc/sqlite-3.5.5/sqlite3.c:63694: warning: cast from pointer to 
integer of different size
../sqliteSrc/sqlite-3.5.5/sqlite3.c: In function 'sqlite3Update':
../sqliteSrc/sqlite-3.5.5/sqlite3.c:64663: error: syntax error before numeric 
constant
../sqliteSrc/sqlite-3.5.5/sqlite3.c:64700: error: invalid lvalue in assignment
make: *** [sqlite3.lo] Error 1


int isView ;   delcaration is wrapped in SQLITE_OMIT_TRIGGER instead of 
SQLITE_OMIT_VIEW.


Thanks,
Ken



___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users