diff options
author | Milo Yip <miloyip@gmail.com> | 2016-06-28 04:58:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 04:58:22 +0300 |
commit | f51d7c9d4b1a9313bde4a5ccf94c4af7089661a8 (patch) | |
tree | a5ee865311b0bd0c9fec8e2d99a5e3b6af820896 | |
parent | 6da92274ae53cf2c8f8d280c259910eae649feab (diff) | |
parent | ad32940da8debdf2a8b4d2f57bb6dd9f7b2a3e1f (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.cpp | 2 |
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__ |