Re:Two musings on the design of compiler warnings
by throwaway43234 on Wednesday September 02, 2020 @02:50PM
(#24356455)
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"
[ Parent
| on HN ]
Re:Two musings on the design of compiler warnings
by a_t48 on Wednesday September 02, 2020 @03:10PM
(#24356715)
I'd tend to agree, though this can be harder to set up than just having a consistent build config for all platforms.
Re:Two musings on the design of compiler warnings
by saagarjha on Wednesday September 02, 2020 @05:25PM
(#24358334)
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.)