tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with par


From: Rob Landley
Subject: Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with parenthesis
Date: Wed, 26 Sep 2007 02:37:02 -0500
User-agent: KMail/1.9.6

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?

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.




reply via email to

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