diff options
author | Philipp A. Hartmann <pah@qo.cx> | 2016-06-27 20:05:29 +0300 |
---|---|---|
committer | Philipp A. Hartmann <pah@qo.cx> | 2016-06-27 20:05:29 +0300 |
commit | ad32940da8debdf2a8b4d2f57bb6dd9f7b2a3e1f (patch) | |
tree | b5ee7075944bb2740160820372baa1d8172963bb | |
parent | f6a07692f907e89f682401f45d008f6a19e6fce4 (diff) |
readertest: Suppress "dangling-else" warning on GCC 7 and later
GCC 6.x doesn't yet support this warning flag, as reported by
@ragnar-ouchterlony.
-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__ |