From e3a807fdc1f01b3a038d0c1609333d04d5d47528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 13 Jul 2020 19:41:06 +0200 Subject: [PATCH] Disable a new compiler warning that doesn't do us much good --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)