Skip to content

Commit 7275e3c

Browse files
committed
drop -Wsign-conversion
1 parent 46aa9d7 commit 7275e3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
100100
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow")
101101
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
102102
# using GCC
103-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow -Wextra -Wsign-conversion -pedantic")
103+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wconversion -Wshadow -Wextra -pedantic")
104+
# not yet ready for -Wsign-conversion
104105
endif()
105106

106107
IF(JSONCPP_WITH_WARNING_AS_ERROR)

0 commit comments

Comments
 (0)