Skip to content

Commit

Permalink
Merge pull request #941 from harrywong/master
Browse files Browse the repository at this point in the history
Add fallthrough attribute to suppress GCC 7.1 warning
  • Loading branch information
miloyip committed May 4, 2017
2 parents a13acda + cba45fe commit fe2b360
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/rapidjson/internal/regex.h
Expand Up @@ -29,6 +29,9 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
#if __GNUC__ >= 7
RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#endif
#endif

#ifdef _MSC_VER
Expand Down

0 comments on commit fe2b360

Please sign in to comment.