We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46aa9d7 commit 7275e3cCopy full SHA for 7275e3c
CMakeLists.txt
@@ -100,7 +100,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
100
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow")
101
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
102
# using GCC
103
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow -Wextra -Wsign-conversion -pedantic")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow -Wextra -pedantic")
104
+ # not yet ready for -Wsign-conversion
105
endif()
106
107
IF(JSONCPP_WITH_WARNING_AS_ERROR)
0 commit comments