Revert previous changes

This commit is contained in:
peter 2018-10-24 12:06:00 +08:00
parent 96824f11c6
commit f6dadcf1f1
No known key found for this signature in database
GPG Key ID: BB362E868E2CD2B9

View File

@ -98,10 +98,6 @@ macro(config_compiler_and_linker)
set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1")
set(cxx_no_exception_flags "-EHs-c- -D_HAS_EXCEPTIONS=0")
set(cxx_no_rtti_flags "-GR-")
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
set(cxx_base_flags "${cxx_base_flags} -Wno-unknown-argument")
endif()
elseif (CMAKE_COMPILER_IS_GNUCXX)
set(cxx_base_flags "-Wall -Wshadow -Werror")
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)