[Info-vax] [OT?] Should compiler warnings be treated as errors ?
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Thu Sep 9 13:52:22 EDT 2021
Interesting article in The Register:
https://www.theregister.com/2021/09/08/compromise_linux_kernel_compiler_warnings/
Linus has modified the Linux build procedures to turn compiler warnings
into errors. I strongly agree with him and it's the same flag I use on
my own code.
However, some other people do not agree with him. Given how important
the Linux kernel has become, I am surprised by that. There would be
some initial cleanup pain, but IMHO, it's a flag that should have
been enabled long ago and you never know if that cleanup will find
some issues in the existing code.
What do you think ? Should compiler warnings be treated as errors ?
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list