22 Mar
2014
22 Mar
'14
4:42 a.m.
2014-03-21 23:25 GMT+01:00 Johan Engelen <jbc.engelen@...2592...>:
Ouch..... It'd be great if some people could work on at least getting configure to work with -Werror.
-Werror should NEVER be enabled by default, as it is equivalent to explicitly disabling forward compatibility with compilers and libraries.
1. The compiler might add a new warning, and it so happens that existing code triggers it. Build broken. 2. An external library we're using might deprecate a function. Build broken. 3. An external library might add warning-generating code to one of its headers. Build broken.
In other words, -Werror should only be enabled when someone explicitly requests it in configure. Only specific warnings should be converted to errors.
Regards, Krzysztof