On Mon, Jan 23, 2012 at 12:49 AM, Tommy <to...@dnomad.org> wrote: > To whom it may concern, > > > 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 hope this helps. If at all possible, I would appreciate learning > what the issue is, as I'm new to C. >
I don't know why this warning is coming up. We don't use Xcode, preferring instead to use ordinary text editors (vi and emacs) and invoke the compiler directly. And we don't get the above warning on Macs (having tried it on Leopard, SnowLeopard, and Lion). > > > Kind regards, > Tommy > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users