Sergio Belkin wrote:

> 2011/3/27 Ralf Corsepius <rc040...@freenet.de>:
>> Packages adding -Werror by themselves are poorly designed.
> 
> Just to learn: Ralf, Why do you say that? :-)

Using -Werror by default is a very bad idea. Warnings can have false 
positives, or otherwise be harmless. And in particular, different compiler 
versions can trigger different warnings: false positives get fixed, but new 
warnings get added. So using -Werror makes you very dependent on the 
compiler version. And really, a warning is not an error for a reason.

It makes sense to use -Werror-* for some specific warnings, e.g.
-Werror-implicit-function-declaration in C, but a blanket -Werror in shipped 
tarballs is a very bad idea.

        Kevin Kofler

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to