Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Allow developers to do whatever they feel like, impose -Werror on CI/CD and PR.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: