News for hackers. Stuff that matters.
Re:My favorite C compiler flags during development by hulitu on Sunday April 30, 2023 @05:51AM (#35761080)
> The only way to ensure discipline and rid a large code base of warnings is to use -Werror

And this works as long as everybody has the same setup as you. This is unfortunately never the case. Kernel changes, libc changes, the compiler changes and sooner or later you will break the build.

Re:My favorite C compiler flags during development by pjmlp on Sunday April 30, 2023 @06:40AM (#35761318)
Allow developers to do whatever they feel like, impose -Werror on CI/CD and PR.