File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
99
99
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" )
100
100
elseif ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
101
101
# using GCC
102
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic" )
102
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Wno-long-long " )
103
103
endif ()
104
104
105
105
IF (JSONCPP_WITH_WARNING_AS_ERROR )
Original file line number Diff line number Diff line change @@ -1265,7 +1265,7 @@ bool OurReader::readStringSingleQuote() {
1265
1265
return c == ' \' ' ;
1266
1266
}
1267
1267
1268
- bool OurReader::readObject (Token& tokenStart) {
1268
+ bool OurReader::readObject (Token& /* tokenStart*/ ) {
1269
1269
Token tokenName;
1270
1270
std::string name;
1271
1271
Value init (objectValue);
@@ -1326,7 +1326,7 @@ bool OurReader::readObject(Token& tokenStart) {
1326
1326
" Missing '}' or object member name" , tokenName, tokenObjectEnd);
1327
1327
}
1328
1328
1329
- bool OurReader::readArray (Token& tokenStart) {
1329
+ bool OurReader::readArray (Token& /* tokenStart*/ ) {
1330
1330
Value init (arrayValue);
1331
1331
currentValue ().swapPayload (init);
1332
1332
skipSpaces ();
You can’t perform that action at this time.
0 commit comments