In a custom SQLite build, SQLITE_DEFAULT_LOOKASIDE results in compilation errors, unless used with SQLITE_OMIT_COMPILEOPTION_DIAGS.
This is because src/ctime.c includes the following block: #ifdef SQLITE_DEFAULT_LOOKASIDE "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOOKASIDE), #endif However, CTIMEOPT_VAL (defined in the same file) is a one-argument macro: #define CTIMEOPT_VAL_(opt) #opt #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt) I suspect that an easy fix would involve defining a 2-argument macro as CTIMEOPT_VAL(arg1) "," CTIMEOPT_VAL(arg2). I hope this is useful, Victor _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users