Re: disabling -Werror on a autotools based build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sergio Belkin wrote:

> 2011/3/27 Ralf Corsepius <rc040203@xxxxxxxxxx>:
>> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux