3 ms·
> 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
by hulitu 4y ago
> 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.
- pjmlp 4y agoAllow developers to do whatever they feel like, impose -Werror on CI/CD and PR.