GCC 7.x does some extended checks on fallthough for switch/case statement. The warning looks like this: warning: this statement may fall through [-Wimplicit-fallthrough=] It can be told about implicit fallthough, however it does not recognize comments within blocks, so move the comments outside.main
parent
ef34a83c54
commit
52831955c7
2 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue