comparison layer/SliceLayer.cpp @ 1264:5f68f5c74904

This was new in GCC 7
author Chris Cannam
date Tue, 12 Dec 2017 11:19:15 +0000
parents 5bab9562eaa3
children a34a2a25907c
comparison
equal deleted inserted replaced
1263:5bab9562eaa3 1264:5f68f5c74904
293 y = yorigin - y; 293 y = yorigin - y;
294 break; 294 break;
295 295
296 case AbsoluteScale: 296 case AbsoluteScale:
297 value = fabs(value); 297 value = fabs(value);
298 #ifdef __GNUC__ 298 #if (__GNUC__ >= 7)
299 __attribute__ ((fallthrough)); 299 __attribute__ ((fallthrough));
300 #endif 300 #endif
301 301
302 case LinearScale: 302 case LinearScale:
303 default: 303 default: