News for hackers. Stuff that matters.
Re:Useful GCC warning options not enabled by -Wall -Wextra by chocolatebunny on Wednesday October 04, 2017 @04:03PM (#15404044)
Most warnings are just warnings. A warning like "implicit cast from pointer to integer" is a red flag (I got bit by this one). I think there are a few others that are always worth taking a look at.

I like your idea of marking warnings. Warnings should be treated like the messages from any static analysis tool. A lot of times they are worth at least looking at but you should be able to mark them as "not a problem" if you think you know better. That way you will always look at new warnings and not end up ignoring all warnings because there are too many that are irrelevant.

There are no comments on this comment yet.