Commit cba45fe9 authored by Harry Wong's avatar Harry Wong

Onley apply to GCC 7

parent fe19b7b6
...@@ -29,8 +29,10 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough) ...@@ -29,8 +29,10 @@ 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) RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#endif #endif
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_PUSH
......
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