mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
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.
This commit is contained in:
parent
7725737872
commit
3ee1e5cbf0
8
Externals/wxWidgets3/CMakeLists.txt
vendored
8
Externals/wxWidgets3/CMakeLists.txt
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user