emacs-devel
[Top][All Lists]
Advanced

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

Re: #2 [Was: Re: Function attributes for make-docfile]


From: Dmitry Antipov
Subject: Re: #2 [Was: Re: Function attributes for make-docfile]
Date: Thu, 15 Jan 2015 06:27:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/14/2015 10:44 PM, Paul Eggert wrote:

There are several possibilities for how to fix this in a less-ugly way, 
including:

1.  Omit -Wsuggest-attribute=const.

2.  Omit -Wredundant-decls.

3.  Make make-docfile.c even smarter and/or trickier.

2) was added to cleanup global namespace, which is typically polluted in mature
projects, and I think this is still useful.

Why not use #pragma in the way similar to bytecode.c?  IMO local ugliness is
always better than the global one :-).

Dmitry

Attachment: pragma_disable_warning.patch
Description: Text Data


reply via email to

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