-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There is a forward declaration of sqlite3_dbstat_register (currently
line 130871 in the 3.8.10.1 amalgamation):
int sqlite3_dbstat_register(sqlite3*);
Later is the actual implementation (currently line 155838 in the
3.8.10.1 amalgamation):
SQLITE_API int SQLITE_STDCALL sqlite3_dbstat_register(sqlite3 *db){
If SQLITE_API or SQLITE_STDCALL are set to anything then the
inconsistency can cause a compiler error. In my case SQLITE_API is
defined as static.
Compilation then fails with gcc on Linux:
/space/apsw/sqlite3/sqlite3.c:155838:12: error: static declaration of
?sqlite3_dbstat_register? follows non-static declaration
Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlVPrCoACgkQmOOfHg372QQEuwCgkCmhV/1ceig99me3QduAw7WL
qxUAniB4ZEF6KN52A/kAV/HZxVJ1kL9G
=686t
-----END PGP SIGNATURE-----