diff --git a/CMakeLists.txt b/CMakeLists.txt index ee98014740..0d2b57d561 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,6 +273,7 @@ if(NOT MSVC) add_definitions(-Wno-multichar) add_definitions(-Wno-deprecated-register) add_definitions(-Wno-tautological-pointer-compare) + add_definitions(-Wformat-overflow) # Don't compile with strict aliasing, we're not 100% aliasing-safe add_compile_options(-fno-strict-aliasing)