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 fc728a21..5d09ed1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ test_and_set_c_compiler_flag_global(-Wall) # explicitly add other flags in -Wextra test_and_set_c_compiler_flag_global(-Wempty-body) test_and_set_c_compiler_flag_global(-Wignored-qualifiers) -test_and_set_c_compiler_flag_global(-Wimplicit-fallthrough) +test_and_set_c_compiler_flag_global(-Wimplicit-fallthrough=4) test_and_set_c_compiler_flag_global(-Wmissing-field-initializers) test_and_set_c_compiler_flag_global(-Wmissing-parameter-type) test_and_set_c_compiler_flag_global(-Wold-style-declaration) |