From 3ee1e5cbf04773c1966896607ec3ede9ac8e1074 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 23 Aug 2014 15:21:28 -0400 Subject: [PATCH] Switch from disabling a laundry list of warnings for wxWidgets to just disabling everything, since they're almost certainly not our problem and I want to compile with -Werror. --- Externals/wxWidgets3/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Externals/wxWidgets3/CMakeLists.txt b/Externals/wxWidgets3/CMakeLists.txt index b2a74d4afd..5103dc2634 100644 --- a/Externals/wxWidgets3/CMakeLists.txt +++ b/Externals/wxWidgets3/CMakeLists.txt @@ -901,12 +901,8 @@ else() endif() add_definitions(-DWXBUILDING) -add_definitions(-Wno-deprecated-declarations) -add_definitions(-Wno-shadow) -add_definitions(-Wno-parentheses-equality) -add_definitions(-Wno-self-assign) -add_definitions(-Wno-null-conversion) -add_definitions(-Wno-sign-compare) +# wxWidgets warnings are not our problem. +add_definitions(-w) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98") enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)