Hacker News new | ask | show | jobs
by octo_t 4797 days ago
This is so horribly wrong.

Firstly, when clang warns you of an error, it tells you the switch it uses to highlight that error, the disabling flag is then "-Wno-$switch" (or simply use a clang pragma to disable the warning: http://stackoverflow.com/questions/7017281/performselector-m...)

Secondly, the errors reported by -Wall and -Wextra are likely to be program bugs / bugs further down the line.

Thirdly: I upgraded my compiler on my CI system, I'd damn well want to know about new errors!