On 08.01.2017 21:24, Richard Hipp wrote:
On 1/7/17, Kirill Müller <krlmlr...@mailbox.org> wrote:
I'm in a situation [1] where I compile RSQLite as part of a C++ project
that still uses the C++98 standard.
Can you instead compile SQLite as a library (libsqlite3.a) using gcc
or clang, then link the compiled *.a file into your project, so that
your C++98 compiler never needs to know about 64-bit integers?
Thanks. This is effectively what I'm doing, but the C++98 compiler needs
to see sqlite.h because C++ code is calling into SQLite. The patch
allows me to override both signed and unsigned int64 types to something
the compiler is happy with.
https://gist.github.com/krlmlr/951cb742d5105ffac163fb7b8dc86986
-Kirill
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users