-pedantic warning flag reenabled

This commit is contained in:
Mateusz Pusz
2019-12-11 09:27:17 +01:00
parent 62164e426a
commit 4304747406
2 changed files with 1 additions and 4 deletions

View File

@@ -96,8 +96,7 @@ class UnitsConan(ConanFile):
"-fconcepts", "-fconcepts",
"-Wno-literal-suffix", "-Wno-literal-suffix",
"-Wno-non-template-friend", "-Wno-non-template-friend",
"-Wno-stringop-overflow", "-Wno-stringop-overflow"
"-Wno-pedantic"
] ]
def package_id(self): def package_id(self):

View File

@@ -66,8 +66,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
-Wno-literal-suffix -Wno-literal-suffix
-Wno-non-template-friend -Wno-non-template-friend
-Wno-stringop-overflow -Wno-stringop-overflow
# TODO gcc:92101
-Wno-pedantic
) )
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0)
target_link_libraries(units target_link_libraries(units