diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 659f530..23d4047 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ endif() # Use modern C... set(CMAKE_C_STANDARD 23) # ... but with some misfeatures disabled. -add_compile_options(-Werror=vla) +add_compile_options(-Werror=vla -Werror=conversion) # Have the compiler help detect mistakes. add_compile_options(-Wall -Wextra -Wswitch-enum -Werror) |