> > Try setting sqlite3_int64 to just "int" and compiling with > > -DSQLITE_32BIT_ROWID=1. That might work. > > -- > > D. Richard Hipp <[EMAIL PROTECTED]> > > "So apparently your compiler cannot cast a double to type xlong_t." > That's because I did the earlier xlong stuff by hand. I can try your above > recommendation, and let you know. > > I should mention 1: That I am running SCO Openserver 5 [popularity not > withstanding], and 2: That I had to change the makefile because the vanilla > make on my system does not like "TCC +=" style entries. > > I probably should ask my question this way: What is the *safe* method for > 32 bit machines to build Sqlite 3.3x?
Setting sqlite3_int64 to just "int" and compiling with -DSQLITE_32BIT_ROWID=1 will not work on some compilers due to certain bit shifts used in SQLite that are not valid for 32 bit types. See: http://marc.theaimsgroup.com/?t=116455076300001&r=1&w=2 Ticket 2089: Decouple sqlite_int64 from other 64bit datatypes http://www.sqlite.org/cvstrac/tktview?tn=2089 A better idea would be to simply use GCC to build SQLite on your SCO box. Side note... the patch in the SQLite ticket, which used to work, is now garbage: http://www.sqlite.org/cvstrac/attach_get/311/patch-for-int32-support2.txt Is there some corruption in the SQLite CVSTrac database? ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------