From 6068eda710753506eb5084c7e0c84fc2d869bc0d Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Wed, 22 Apr 2020 22:59:31 +0800 Subject: [PATCH] Remove pedantic as we are using non-standard macro behaviour --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c0fa8de..4711abf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)