-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 xianzhang wrote: > sqlite/sqlite3.c:18848:3: #error SQLite will not work correctly with the > -ffast-math option of GCC [...] > Any ideas how I can fix this? Thanks!
Exactly as it says. Don't supply the -ffast-math option. Something in your build environment selected that flag so stop it :-) In case you are wondering the -ffast-math option allows gcc to take various non-standards compliant shortcuts when doing floating point arithmetic. Those shortcuts end up causing SQLite to give very wrong floating point results. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmHdU4ACgkQmOOfHg372QRCegCgx1kOhK9LYduvS4LjY8JPTiC/ twUAoM7El900s59WGdHtm/ViFhAtt4WA =Pejd -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users