Replaced -Wpedantic by -pedantic

This commit is contained in:
Benoit Blanchon
2014-11-15 14:57:39 +01:00
parent a2cbb68a40
commit a66299a936

View File

@ -4,6 +4,7 @@ file(GLOB_RECURSE SRC_FILES *.cpp)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_definitions(
-fno-exceptions
-pedantic
-Wall
-Wcast-align
-Wcast-qual
@ -21,7 +22,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
-Wno-variadic-macros
-Wold-style-cast
-Woverloaded-virtual
-Wpedantic
-Wredundant-decls
-Wshadow
-Wsign-promo