Commit ad32940d authored by Philipp A. Hartmann's avatar Philipp A. Hartmann

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.
parent f6a07692
......@@ -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__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment