diff --git a/src/modules/racing/standardgame/raceresults.cpp b/src/modules/racing/standardgame/raceresults.cpp index d71f06d58..7011dfb51 100644 --- a/src/modules/racing/standardgame/raceresults.cpp +++ b/src/modules/racing/standardgame/raceresults.cpp @@ -337,7 +337,9 @@ ReStoreRaceResults(const char *race) break; } - [[fallthrough]]; +#if ( __GNUC__ >= 5 || _MSVC_VER >= 1910) + [[fallthrough]]; +#endif /* Otherwise, fall through */ case RM_TYPE_QUALIF: