bug-gnulib
[Top][All Lists]
Advanced

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

Re: failure to build due to ignoring fwrite() result


From: Paolo Bonzini
Subject: Re: failure to build due to ignoring fwrite() result
Date: Tue, 31 Aug 2010 10:52:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5

On 08/31/2010 05:34 AM, Bruce Korb wrote:
1.  GCC needs to relax the constraint that functions marked with
     warn-unused-result cause warnings when the result_is_  handled
     with a void cast.

This is done by design (I disagree, but this is not going to change). This is the only reason why the bug is 100% in glibc.

2.  Given what GCC does, glibc is over the top in marking fwrite
     with warn-unused-result

True.  And inconsistent as well, as pointed out already.

Paolo



reply via email to

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