Hacker News new | ask | show | jobs
by pabs3 417 days ago
So turn on -Werror in your CI builds, but don't turn it on for all builds.
1 comments

I mean, yeah, obviously that a)only works when we build our projects ourselves, and b) for external libraries you have less control over that.
Fuck projects that ship conpile scripts with -Werror.
I don't understand this discussion. What I said was that for our big projects internally, we keep them warning-free, and -Werror obviously helps tremendously with that. Nobody said you need to ship externally with -Werror, or anything about external libraries the project may be using.

By keeping your own project warning-free in your environment, you are doing a service to everyone.

Sounds like you are doing the right thing (-Werror internally, not externally). So this discussion is probably just based on a miscommunication. Happens pretty often on HN unfortunately.