Skip to content

Commit

Permalink
Merge pull request #669 from pah/fixes/666
Browse files Browse the repository at this point in the history
readertest: Suppress "dangling-else" warning on GCC 7 and later
  • Loading branch information
miloyip committed Jun 28, 2016
2 parents 6da9227 + ad32940 commit f51d7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/readertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit f51d7c9

Please sign in to comment.