News for hackers. Stuff that matters.
Re:Useful GCC warning options not enabled by -Wall -Wextra by bluGill on Wednesday October 04, 2017 @05:52PM (#15405038)
Have you tried this lately - in the last 10 years? things used to be bad, but clang and gcc at least have really cleaned up their act, most warning are now zero false positives and so you want to clean everything up. The only time I see the issue you described was when someone upgraded the compiler, and the new warnings were all real bugs.

Static analysis tools are a different problem: I find that most of them have so many false positives they are not worth looking at.

Re:Useful GCC warning options not enabled by -Wall -Wextra by adekok on Monday October 09, 2017 @08:14AM (#15433158)
> Have you tried this lately - in the last 10 years?

I'm wondering what it is about HN that lets people be condescending know-it-alls.

If you look, there's only one of me online. I write between 10K and 20K lines of C a year.

So yes, I have tried this in the last 10 years.