[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with par
From: |
Marc Andre Tanner |
Subject: |
Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with parenthesis |
Date: |
Wed, 26 Sep 2007 20:06:17 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
On Wed, Sep 26, 2007 at 02:37:02AM -0500, Rob Landley wrote:
> On Tuesday 25 September 2007 5:15:05 am Marc Andre Tanner wrote:
> > Hi,
> >
> > Attached is another patch which tries to improve the __attribute__
> > handling. Currently tcc is confused by parenthesis within the attribute
> > definition.
> >
> > cat > bug.c << EOF
> > void warn ( const char * format , ... )
> > __attribute__ ( ( format ( printf , ( 1 ) , ( 2 ) ) ) ) ;
> > EOF
>
> I did a smaller version of this patch. Close enough?
Yep works, unsurprisingly since it is essentially the same.
Thanks for committing.
Marc
--
Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0