It's necessary to add the break at the end of "case -1" statement else the compiler will treat it as fall through and GCC 7 will throw an error because of -Werror=implicit-fallthrough=.pull/36/head
parent
6c8537fab1
commit
3a176fa658
Loading…
Reference in new issue