On 23 Jan 2012, at 5:49am, Tommy wrote:

> After bringing the SQLite amalgamation into my library and compiling,
> Apple Xcode produced the following warning:
> 
> sqlite3.c:27620:32:{27620:32-27620:45}{27620:30-27620:31}: warning:
> implicit conversion from 'long long' to 'long' changes value from
> 9223372036854775807 to -1 [-Wconstant-conversion,3]
> 
> The code in question is:
> 
> #define LARGEST_INT64  (0xffffffff|(((i64)0x7fffffff)<<32))

I have compiled amalgamation in all Xcodes ever since OS X 10.5.0 and i don't 
remember seeing that error, which probably means it's the result of some target 
platform settings.  I doubt I'll be able to solve this, but just in case,

Which version of Xcode.  Which version of the OS ?
Which target platform (by which I mean hardware) do you have the project set 
for ?  32-bit or 64-bit ?
Are you compiling on an Intel Mac ? (just in case you're still using PPC)

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

Reply via email to