error_decl, warning_decl (wa Re: Unreviewed stage2 patches)

Jason Merrill
Sat Sep 22 01:21:00 GMT 2007

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:
>> 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.


More information about the Gcc-patches mailing list