Skip to content

Commit e1f824a

Browse files
committed
CMake: Remove unnecessary warning disables
1 parent 18e1d11 commit e1f824a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ endif()
8080
if(COMPILER_CLANG OR COMPILER_CLANG_CL OR COMPILER_GCC)
8181
include(CheckCXXFlag)
8282
check_cxx_flag(-Wall COMPILER_SUPPORTS_WALL)
83-
check_cxx_flag(-Wno-class-memaccess COMPILER_SUPPORTS_MEMACCESS)
8483
check_cxx_flag(-Wno-invalid-offsetof COMPILER_SUPPORTS_OFFSETOF)
85-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-switch")
86-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch")
8784
endif()
8885

8986
# We don't need exceptions, disable them to save a bit of code size.

0 commit comments

Comments
 (0)