Closed escondida closed 6 years ago
I added some workarounds for compilers that lack the fallthrough attribute.
I accidentally pushed the merge before fully testing it. The workaround didn't work. @escondida, would you please redo this with the correct workarounds to allow for compilers that do not have the fallthrough attribute, making sure that it works for CLANG and GCC version 7 and above?
Sure, I'll see what I can do.
It needs to be transparent for compilers that lack the fallthrough attribute.
This silences compiler warnings about this deliberate decision, so in future it will be easier to spot compiler warnings about mistakes; also, it should now be possible to compile with -Wall -Wextra -Werror.