From 15f62e0e81649e9bda6a054d00a63a14972db8d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Sep 2016 21:20:53 +0300 Subject: Enable fallthrough attribute only for gcc version 7.01. Because gcc snapshot still outdated. --- src/localconsts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/localconsts.h') diff --git a/src/localconsts.h b/src/localconsts.h index b76fe233f..a22ac8e97 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -170,7 +170,7 @@ #else // GCC_VERSION > 60000 #define PRAGMA6(str) #endif // GCC_VERSION > 60000 -#if GCC_VERSION >= 70000 +#if GCC_VERSION >= 70001 #define A_FALLTHROUGH __attribute__ ((fallthrough)); #else // GCC_VERSION > 70000 #define A_FALLTHROUGH -- cgit v1.2.3-70-g09d2