summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-30 21:20:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-30 21:20:53 +0300
commit15f62e0e81649e9bda6a054d00a63a14972db8d5 (patch)
treefd9ecca3364ac2a264df9f712cde1dff2812b532 /src/localconsts.h
parentf0ae3929601795a12522664ab2a37375f7d598b5 (diff)
downloadplus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.gz
plus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.bz2
plus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.xz
plus-15f62e0e81649e9bda6a054d00a63a14972db8d5.zip
Enable fallthrough attribute only for gcc version 7.01.
Because gcc snapshot still outdated.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 1 insertions, 1 deletions
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