mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
-pedantic warning flag reenabled
This commit is contained in:
@@ -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):
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user