From 43047474065c647b21d4a14edc2f193b495611f3 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 11 Dec 2019 09:27:17 +0100 Subject: [PATCH] -pedantic warning flag reenabled --- conanfile.py | 3 +-- src/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/conanfile.py b/conanfile.py index c79e860a..56035345 100644 --- a/conanfile.py +++ b/conanfile.py @@ -96,8 +96,7 @@ class UnitsConan(ConanFile): "-fconcepts", "-Wno-literal-suffix", "-Wno-non-template-friend", - "-Wno-stringop-overflow", - "-Wno-pedantic" + "-Wno-stringop-overflow" ] def package_id(self): diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a8d69659..2352b3c3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,8 +66,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) -Wno-literal-suffix -Wno-non-template-friend -Wno-stringop-overflow -# TODO gcc:92101 - -Wno-pedantic ) if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) target_link_libraries(units