4 ms·
Isn't it a case for eliminating all warnings and treat them as bugs? It seems you are dooming your project the minute you start ignoring your first warning.
by prmoustache 1y ago
Isn't it a case for eliminating all warnings and treat them as bugs?
It seems you are dooming your project the minute you start ignoring your first warning.
- bloak 1y agoMost projects I've worked on treat warnings as bugs. It's annoying, sometimes, when you have to fiddle with the code and add lines to prevent bogus warnings from breaking the build, particularly when you're making a temporary change for debugging purposes, and I remember a couple of occasions when we had to insert a comment something like "This was needed to prevent a warning caused by a bug in GCC X.Y.Z (link to compiler bug on issue tracker)". But, on balance, it's worth it.