projects
/
platform
/
upstream
/
jsoncpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a46e29
)
TravisCI gcc-4.6 does not yet support -Wpedantic
author
Christopher Dunn
<cdunn2001@gmail.com>
Sun, 25 Jan 2015 16:34:49 +0000
(10:34 -0600)
committer
Christopher Dunn
<cdunn2001@gmail.com>
Sun, 25 Jan 2015 16:34:49 +0000
(10:34 -0600)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
96219e2
..
d998495
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-88,7
+88,7
@@
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# using GCC
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -Wextra -
W
pedantic")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -Wextra -pedantic")
endif()
IF(JSONCPP_WITH_WARNING_AS_ERROR)