# HG changeset patch # User Chris Cannam # Date 1513077555 0 # Node ID 5f68f5c74904801286fd1ef1453694bde3c02e51 # Parent 5bab9562eaa35e8ed2a2a5cf2195b2da28f52854 This was new in GCC 7 diff -r 5bab9562eaa3 -r 5f68f5c74904 layer/SliceLayer.cpp --- 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