Closed agx closed 5 years ago
GCC now has an attribute to explicitly declare fall-throughs in code. The case label can be prefixed with __attribute__((fallthrough)); to avoid these warnings.
👍
@penguin359 I know but the comments make it explicit and don't confuse other compilers not supporting attribute fallthrough.
We dropped these duff devices entirely.
This suppresses
warnings with gcc7.