SQLite Forum

Visual Studio Compile Issue
Login
First, you're not on the current version, based on line numbers. If you're going to post a question without specifying the version number you're using, you should update to the current version and check that it also occurs with that version, that being the default assumption. Otherwise, specify the exact version you are using. (And you should also justify why you're using an old version.)

Second, the first two of those errors I checked are `assert()` calls. I assume the others are as well, which means you're compiling with assertions but without debugging. I'd guess that's an unsupported configuration. Either:

1. Define `SQLITE_DEBUG` in Debug builds, which also define `_DEBUG`, thus [enabling assertions](https://docs.microsoft.com/en-us/visualstudio/debugger/c-cpp-assertions?view=vs-2019); or

2. Undefine `_DEBUG` for `sqlite3.c` for Debug builds.