News for hackers. Stuff that matters.
Re:Useful GCC warning options not enabled by -Wall -Wextra by chrisseaton on Wednesday October 04, 2017 @02:31PM (#15403031)
You're arguing that there are cases where the warning doesn't apply... well that's why it's just a warning not an error. You're not disallowing using switch in other ways - you're just warning yourself when you do.
Re:Useful GCC warning options not enabled by -Wall -Wextra by asveikau on Wednesday October 04, 2017 @02:39PM (#15403108)
Except that the comment I'm replying to says -Werror, meaning they would like to turn this warning into a build break. That seems a bit like language fascism to me. (And if it's not a build break, leaving the warning on stderr during a build is noise, which will cause you to ignore more important warnings.)