changeset 1264:5f68f5c74904

This was new in GCC 7
author Chris Cannam
date Tue, 12 Dec 2017 11:19:15 +0000
parents 5bab9562eaa3
children 6e724c81f18f
files layer/SliceLayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/SliceLayer.cpp	Thu Dec 07 13:31:32 2017 +0000
+++ b/layer/SliceLayer.cpp	Tue Dec 12 11:19:15 2017 +0000
@@ -295,7 +295,7 @@
         
     case AbsoluteScale:
         value = fabs(value);
-#ifdef __GNUC__
+#if (__GNUC__ >= 7)
         __attribute__ ((fallthrough));
 #endif