SQLite Forum

Bug: MSVC uses intrinsic versions of ceil and floor for floating-point modes precise and fast (diagnosed)
Login
Visual Studio Community 2017 version 15.9.30, MSC v1916

### Toolchains, build types:

- Win32, debug build: fails
- Win32, release build: fails
- x64, debug build: fails
- x64, release build: fails

### `compile_options`:

```
COMPILER=msvc-1916
ENABLE_FTS4
ENABLE_FTS5
ENABLE_JSON1
THREADSAFE=1
```

This is, obviously, what `compile_options` contains _before_ adding `SQLITE_ENABLE_MATH_FUNCTIONS` to the preprocessor defines list, as the build fails when `SQLITE_ENABLE_MATH_FUNCTIONS` is defined.