SQLite Forum

Linkage #defines are unused

Yes, if the amalgamation could omit (or mark as reserved) any macros it doesn't happen to use, that would be excellent. If they're still present in some form, having the amalgamation indicate which are actually used and which aren't would be nice. Any documentation or comments on how to use these macros correctly would also be appreciated.

After looking at the --apicall generation option Keith mentioned above, the only one left that I couldn't find used at all was SQLITE_STDCALL. (Specifically, it didn't show up in a search on the GitHub mirror repo, but that may not have found all cases.) But if it's omitted from the amalgamation, it won't make much difference to me whether SQLITE_STDCALL is still in the repo internally for some other case.