From afaa8da7ba0e327388797d9c1440c2856873884f Mon Sep 17 00:00:00 2001 From: Don Boogert Date: Tue, 17 Apr 2018 20:42:07 -0700 Subject: [PATCH] CMake : disable unused local typedefs warning. --- contrib/cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/cmake/CMakeLists.txt b/contrib/cmake/CMakeLists.txt index dd7c6242611..4594f967d92 100644 --- a/contrib/cmake/CMakeLists.txt +++ b/contrib/cmake/CMakeLists.txt @@ -49,7 +49,7 @@ endif() IF ( "${CMAKE_BUILD_TYPE}" MATCHES "Debug" ) ADD_DEFINITIONS( -DDEBUG=1 -UNDEBUG ) IF ( NOT WINDOWS ) - ADD_DEFINITIONS( -pipe -Wall -O0) + ADD_DEFINITIONS( -pipe -Wall -O0 -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-maybe-uninitialized) ENDIF() ELSEIF ( "${CMAKE_BUILD_TYPE}" MATCHES "Release" ) ADD_DEFINITIONS( -DNDEBUG=1 -UDEBUG )