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.
This commit is contained in:
Philipp A. Hartmann 2016-06-27 19:05:29 +02:00
parent f6a07692f9
commit ad32940da8

View File

@ -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__