5 ms·
True, so?
by anyfoo 1y ago
True, so?
- pabs3 1y agoSo turn on -Werror in your CI builds, but don't turn it on for all builds.
- anyfoo 1y agoI mean, yeah, obviously that a)only works when we build our projects ourselves, and b) for external libraries you have less control over that.
- immibis 1y agoFuck projects that ship conpile scripts with -Werror.
- anyfoo 1y agoI 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.
- pabs3 1y agoSounds 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.