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: Ralf Wildenhues
Subject: Re: failure to build due to ignoring fwrite() result
Date: Mon, 30 Aug 2010 21:22:26 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello,

* Paul Eggert wrote on Mon, Aug 30, 2010 at 09:17:34PM CEST:
> In controversial areas like this, we should look to the GNU coding standards
> for advice, and they state that one shouldn't cast to void, or use
> similar measures merely to satisfy a lint checker.  So I suggest that we
> not use ignore-value; instead, we should avoid the GCC options that
> generate these warnings.
> 
> For gnulib, I suggest that we deprecate the ignore-value module.

I wish glibc developers had looked to GCS for this area too, when adding
all those warn_unused_result annotations to some library versions,
making this an annoyance with GCC, not some lint.

Cheers,
Ralf



reply via email to

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