Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2016-06-28 04:58:22 +0300
committerGitHub <noreply@github.com>2016-06-28 04:58:22 +0300
commitf51d7c9d4b1a9313bde4a5ccf94c4af7089661a8 (patch)
treea5ee865311b0bd0c9fec8e2d99a5e3b6af820896
parent6da92274ae53cf2c8f8d280c259910eae649feab (diff)
parentad32940da8debdf2a8b4d2f57bb6dd9f7b2a3e1f (diff)
Merge pull request #669 from pah/fixes/666
readertest: Suppress "dangling-else" warning on GCC 7 and later
-rw-r--r--test/unittest/readertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest/readertest.cpp b/test/unittest/readertest.cpp
index c7c7710b..64a1f9c3 100644
--- a/test/unittest/readertest.cpp
+++ b/test/unittest/readertest.cpp
@@ -28,7 +28,7 @@ RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
RAPIDJSON_DIAG_OFF(float-equal)
RAPIDJSON_DIAG_OFF(missing-noreturn)
-#if __GNUC__ >= 6
+#if __GNUC__ >= 7
RAPIDJSON_DIAG_OFF(dangling-else)
#endif
#endif // __GNUC__