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:
parent
f6a07692f9
commit
ad32940da8
@ -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__
|
||||
|
Loading…
x
Reference in New Issue
Block a user