We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18e1d11 commit e1f824aCopy full SHA for e1f824a
CMakeLists.txt
@@ -80,10 +80,7 @@ endif()
80
if(COMPILER_CLANG OR COMPILER_CLANG_CL OR COMPILER_GCC)
81
include(CheckCXXFlag)
82
check_cxx_flag(-Wall COMPILER_SUPPORTS_WALL)
83
- check_cxx_flag(-Wno-class-memaccess COMPILER_SUPPORTS_MEMACCESS)
84
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")
87
endif()
88
89
# We don't need exceptions, disable them to save a bit of code size.
0 commit comments