Skip to content

Commit ed9c11c

Browse files
committed
Remove -Wno-deprecated-declarations from compiler options
All uses of deprecated functions have been replaced.
1 parent f65e886 commit ed9c11c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
4040
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
4141
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
4242
# Enable lots of warnings
43-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wno-deprecated-declarations -Wswitch-enum")
43+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Werror -Wswitch-enum")
4444
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
4545
# This would be the place to enable warnings for Windows builds, although
4646
# config.inc doesn't seem to do that currently

src/config.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ BUILD_ENV = AUTO
55
ifeq ($(BUILD_ENV),MSVC)
66
#CXXFLAGS += /Wall /WX
77
else
8-
CXXFLAGS += -Wall -pedantic -Werror -Wno-deprecated-declarations -Wswitch-enum
8+
CXXFLAGS += -Wall -pedantic -Werror -Wswitch-enum
99
endif
1010

1111
ifeq ($(CPROVER_WITH_PROFILING),1)

0 commit comments

Comments
 (0)