emacs-devel
[Top][All Lists]
Advanced

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

Re: attribute warn_unused_result


From: Paul Eggert
Subject: Re: attribute warn_unused_result
Date: Thu, 03 Feb 2011 13:40:21 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/03/11 12:42, Chad Brown wrote:

> ..and it broke the W32 and nextstep builds (at least) again.

Sorry, I forgot to add the new file lib/ignore-value.h.
That should be fixed now.

On 02/03/11 13:16, Eli Zaretskii wrote:

> And is butt-ugly, IMO.

I don't like ignore-value either.  I'd rather that we simply
tell GCC never to generate those bogus warnings anywhere.
However, as I understand it, that's not so easily done.

By the way, I forgot to say, I audited Emacs last month for
every instance of these warnings under GNU/Linux, and fixed
all the code where the warnings were legitimate.  This was
bzr commit 102952, dated January 23.  All the remaining
warnings (on GNU/Linux, anyway) were therefore bogus, in
my opinion, though it wouldn't hurt to have other people
check that.



reply via email to

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