Pádraig Brady <p...@draigbrady.com> wrote:

> On 11/26/2013 10:53 AM, Joerg Schilling wrote:
> > 
> > Are you using "ignore_value" because of the gcc bug that ignores the 
> > official
> > method to tell that the return code is ignored intentionally:
> > 
> >     (void) write(fd, buf, len);
>
> Right: 
> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/ignore-value.h;hb=HEAD
>
> I thought it marginally cleaner to use that,
> than to have a goto to just _exit() on write error.

Do you believe this is the right method to deal with the problem?
It will most likely prevent to create enough pressure on the GCC people to fix 
the current warning problem.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to