Skip to content

Commit e22a2f3

Browse files
committed
Merge pull request open-source-parsers#313 from cdunn2001/master
`-std=c++11` for gcc builds too There was an issue with Travis, but we seem to be past that now. We were using only -std=c++0x for gcc, as you can see in the diff. resolves open-source-parsers#134
2 parents 14fc9f1 + fac8710 commit e22a2f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
100100
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wshorten-64-to-32")
101101
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
102102
# using GCC
103-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -Wextra -pedantic")
103+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -pedantic")
104104
endif()
105105

106106
IF(JSONCPP_WITH_WARNING_AS_ERROR)

0 commit comments

Comments
 (0)