-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SQLite works fine on 64 bit platforms.  In my case I am using Linux
64bit.  The warnings are about pointers being cast to int.

> Looking at the code, there are pointer to int truncations
> everywhere, 

Pointers are used as placeholders in callbacks.  For example if you
register a function, you supply a chunk of data in the form of a void
pointer that is supplied to you again when the function is called.  If
your data really was an int, then you'd convert to void* at
registration, and then convert from void* in the callback.  That is not
an error nor if information lost.

> and I've found no magic bullet for declalring int's as 64 bit
> (__int64 and longlong is how I normally do it.)  

No platform uses 64 bit ints.  Every common 64 bit platform uses 32 bit
ints.  Microsoft was unique in also using 32 bit longs while everyone
else uses 64 bit longs.

Somehow convincing sqlite to use 64 bit ints won't solve your problem.
You need to show what your other errors are.

BTW SQLite is limited to 2GB for strings and blobs even on 64 bit
platforms due to using int in the api for the size of various things.
Not that shoving such large objects into the database is a good idea
anyway.  http://www.sqlite.org/cvstrac/tktview?tn=2125

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFrHX+mOOfHg372QQRAlsyAJ9qiydtFUptvjruaPAJi02vCkD9VACgzp5y
QIAjOieKHwMFjVzTctKEDDg=
=GIOt
-----END PGP SIGNATURE-----

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

Reply via email to