emacs-devel
[Top][All Lists]
Advanced

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

Re: attribute warn_unused_result


From: Eli Zaretskii
Subject: Re: attribute warn_unused_result
Date: Thu, 03 Feb 2011 23:16:06 +0200

> Date: Thu, 03 Feb 2011 11:33:03 -0800
> From: Paul Eggert <address@hidden>
> CC: Eli Zaretskii <address@hidden>, address@hidden
> 
> On 02/03/11 10:53, Stefan Monnier wrote:
> 
> > So, for each such case, we should think about it and if we indeed want
> > to ignore the return value, we should put an explicit cast to that
> > effect (which should hopefully be understood by gcc to silence the
> > warning).
> 
> Gnulib's ignore-value module is designed for that.

And is butt-ugly, IMO.



reply via email to

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