File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,15 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
78
78
# Enable lots of warnings
79
79
set (CMAKE_CXX_FLAGS
80
80
"${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wswitch-enum \
81
- -Wno-deprecated-declarations -Wno- maybe-uninitialized" )
81
+ -Wno-maybe-uninitialized" )
82
82
elseif ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" OR
83
83
"${CMAKE_CXX_COMPILER_ID} " STREQUAL "AppleClang" )
84
84
# Ensure NDEBUG is not set for release builds
85
85
set (CMAKE_CXX_FLAGS_RELEASE "-O2" )
86
86
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g" )
87
87
# Enable lots of warnings
88
88
set (CMAKE_CXX_FLAGS
89
- "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wswitch-enum -Wno-deprecated-declarations " )
89
+ "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wswitch-enum" )
90
90
elseif ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" )
91
91
# This would be the place to enable warnings for Windows builds, although
92
92
# config.inc doesn't seem to do that currently
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ ifeq ($(BUILD_ENV),MSVC)
6
6
# CXXFLAGS += /Wall /WX
7
7
else
8
8
CXXFLAGS += -Wall -pedantic -Werror -Wswitch -enum
9
- CXXFLAGS += -Wno -deprecated -declarations
10
9
# GCC only, silence clang warning
11
10
CXXFLAGS += -Wno -maybe -uninitialized -Wno -unknown -warning -option
12
11
endif
You can’t perform that action at this time.
0 commit comments