Remove pedantic

as we are using non-standard macro behaviour
This commit is contained in:
zhupengfei
2020-04-22 22:59:31 +08:00
parent 4568567d90
commit 6068eda710
+1 -2
View File
@@ -76,11 +76,10 @@ else()
add_compile_options(
-Wall
-Wno-attributes
-pedantic
)
if (WARNINGS_AS_ERRORS)
add_compile_options(-Werror -Wfatal-errors -pedantic-errors)
add_compile_options(-Werror -Wfatal-errors)
endif()
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)