From eecfacedffb45d4504d0890af7661bb2d703255a Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Sat, 14 Jul 2018 18:13:34 +0200 Subject: [PATCH] less pedantic --- build/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index e41ac217..441cbd9c 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -39,14 +39,14 @@ endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") add_compile_options(-D_SCL_SECURE_NO_WARNINGS) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - add_compile_options(-Wall -Wextra -pedantic) + add_compile_options(-Wall -Wextra) if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6) # -fpermissive needed for cpp_int in gcc-6 # -Wno-noexcept-type to silence warnings related to Boost.Python add_compile_options(-fpermissive -Wno-noexcept-type) endif() elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - add_compile_options(-Wall -Wextra -pedantic -D__STRICT_ANSI__) + add_compile_options(-Wall -Wextra -D__STRICT_ANSI__) endif() if(TRACE_ALLOCS)