[CMAKE] Disable some overly sensitive warnings

-Wno-unused-const-variable
-Wno-unused-local-typedefs
-Wno-deprecated
This commit is contained in:
Timo Kreuzer 2019-04-28 22:17:19 +02:00
parent aa46da57d4
commit 58b615f668

View file

@ -114,6 +114,8 @@ endif()
add_compile_flags("-Wall -Wpointer-arith")
add_compile_flags("-Wno-char-subscripts -Wno-multichar -Wno-unused-value")
add_compile_flags("-Wno-unused-const-variable")
add_compile_flags("-Wno-unused-local-typedefs")
add_compile_flags("-Wno-deprecated")
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
add_compile_flags("-Wno-maybe-uninitialized")