Hacker News new | ask | show | jobs
by throwaway43234 2113 days ago
I think a good compromise is warnings aren't allowed in the final committed code (this can be enforced either by convention or with git hooks), but whatever you do locally is between you and your compiler. "What happens in the devbox stays in the devbox"
1 comments

I'd tend to agree, though this can be harder to set up than just having a consistent build config for all platforms.
Generally I would hope that your CI build allows you to set this kind of configuration. (At the very least, you must have this as an option, because someone will run into it at some point and will have to turn your -Werror off.)