make clean all fails with -Wimplicit-fallthrough=2
Issue #1126
resolved
Hello,
when building the current master i get following error:
gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=2’; did you mean ‘-Wno-fallthrough’?
I´m Using
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Any suggest to fix this?
Thanks & best regards
Comments (3)
-
repo owner -
reporter Thanks!
What´s the flag for?Btw. why don’t you use a more recent version of Debian?
Still on my agendo to upgrade, but currently still supported via LTS. Nevermind, thanks for the hint and the ‘kick in the ass’, will upgrade it :)
-
repo owner - changed status to resolved
It's a compiler flag to prevent it complaining for an intentional switch-case fallthrough structure in the code.
- Log in to comment
Hello Thomas, just simply remove
-Wimplicit-fallthrough=2
from the Makefiles (or even configure) script, and you should be fine. Btw. why don’t you use a more recent version of Debian?