Modern C for Fedora (and the world)
Modern C for Fedora (and the world)
Posted Dec 9, 2023 1:24 UTC (Sat) by Wol (subscriber, #4433)In reply to: Modern C for Fedora (and the world) by fwiesweg
Parent article: Modern C for Fedora (and the world)
> On the other hand, if you are able to keep up with the load, it's about the best thing you can do. With each modernization push, enforced by making warnings fail hard, the amount of runtime errors can be brought down considerably, and by now nearly all issues we have are caused by missing or disabled static check.
That's what I did with a code base. Just worked through the codebase adding -W3 to each module in turn, and cleared all the errors. It took time, but the quality of the code base shot up, and loads of unexplained errors just disappeared :-)
Cheers,
Wol