forked from bblanchon/ArduinoJson
Replaced -Wpedantic by -pedantic
This commit is contained in:
@ -4,6 +4,7 @@ file(GLOB_RECURSE SRC_FILES *.cpp)
|
|||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-fno-exceptions
|
-fno-exceptions
|
||||||
|
-pedantic
|
||||||
-Wall
|
-Wall
|
||||||
-Wcast-align
|
-Wcast-align
|
||||||
-Wcast-qual
|
-Wcast-qual
|
||||||
@ -21,7 +22,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
|||||||
-Wno-variadic-macros
|
-Wno-variadic-macros
|
||||||
-Wold-style-cast
|
-Wold-style-cast
|
||||||
-Woverloaded-virtual
|
-Woverloaded-virtual
|
||||||
-Wpedantic
|
|
||||||
-Wredundant-decls
|
-Wredundant-decls
|
||||||
-Wshadow
|
-Wshadow
|
||||||
-Wsign-promo
|
-Wsign-promo
|
||||||
|
Reference in New Issue
Block a user