Provide CM_FALLTHROUGH;
GCC 7.1 introduces warnings on implicit fallthrough in switches when compiled with -Wextra
.
To silence them, provide a macro CM_FALLTHROUGH
that either expands to [[fallthrough]]
, [[gnu::fallthrough]]
, or __attribute__((fallthrough))
. Then, use that macro to make fallthroughs explicit.