bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit


From: Eric Blake
Subject: Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit
Date: Wed, 20 Feb 2013 12:48:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 02/20/2013 11:30 AM, Sergey Poznyakoff wrote:
> Hi Paul,
> 
>> Developers are assumed to have up-to-date systems where -Werror is
>> appropriate.
> 
> Frankly, I cannot imagine a situation where treaing a warning as an
> error can be appropriate.  That's why I consider it unfortunate.

If code compiles warning-free, then enabling -Werror prevents
regressions that would add a new warning.  Getting code warning-free,
and deciding what set of warnings to be warning-free on, is a harder
task, but using -Werror DOES make sense for projects that are already
clean for a given set of warnings.

> 
>> I'm surprised you didn't run into this.
> 
> That's quite simple.  Configure enables -Werror only if gcc's version is
> 4.6 or newer.  Mine is not.
> 
> Regards,
> Sergey
> 
> 
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]