Commit fe2b3603 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #941 from harrywong/master

Add fallthrough attribute to suppress GCC 7.1 warning
parents a13acda9 cba45fe9
...@@ -29,6 +29,9 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough) ...@@ -29,6 +29,9 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#ifdef __GNUC__ #ifdef __GNUC__
RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++) RAPIDJSON_DIAG_OFF(effc++)
#if __GNUC__ >= 7
RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#endif
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
......
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