This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error_decl, warning_decl (wa Re: Unreviewed stage2 patches)


Jakub Jelinek wrote:
On Fri, Sep 21, 2007 at 01:13:34AM -0400, Jason Merrill wrote:
Jakub Jelinek wrote:
__error_decl__ and __warning_decl__ attributes:
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00876.html
Why "_decl"?

Because glibc already uses for such things __warndecl and __errordecl macros, except that they result only into link time warnings or link time errors without gcc help.

Ah. But there the name is a directive rather than an attribute.


I don't care about the names though, can be anything else,
all I care is about the semantics.
So __error_fn__, __error_function__, __error_call__, __error_on_call__
or even just __error__ are ok with me.

Any of those would be fine with me. With that change the patch is OK.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]