A doc fix about SEH compiling
(1) By Max (Maxulite) on 2024-06-04 10:26:20 [source]
Both release history and compile-time options points to the SQLITE_USE_SEH=0 to be used when one wants to avoid exceptions with MSVC/Windows. But as I understand, the right conditional to be used is SQLITE_OMIT_SEH. When trying to pass value 0 of SQLITE_USE_SEH to the cl.exe (/DSQLITE_USE_SEH=0), effectively it is still defined (evidence: I see __imp_RaiseException and __C_specific_handler symbols in the obj file as required) and the following warning (3.46.00) is out
sqlite3.c(14082): warning C4005: 'SQLITE_USE_SEH': macro redefinition sqlite3.c(14082): note: command-line arguments: see previous definition of 'SQLITE_USE_SEH'
Thanks
(2) By Stephan Beal (stephan) on 2024-06-05 14:22:29 in reply to 1 [link] [source]
But as I understand, the right conditional to be used is SQLITE_OMIT_SEH.
Correct, thank you for the report. The pages have been updated but won't show up online until (probably) around the next release.