[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with par
Re: [Tinycc-devel] [PATCH] GNU __attribute__ extension handling with parenthesis
Wed, 26 Sep 2007 02:37:02 -0500
On Tuesday 25 September 2007 5:15:05 am Marc Andre Tanner wrote:
> Attached is another patch which tries to improve the __attribute__
> handling. Currently tcc is confused by parenthesis within the attribute
> cat > bug.c << EOF
> void warn ( const char * format , ... )
> __attribute__ ( ( format ( printf , ( 1 ) , ( 2 ) ) ) ) ;
I did a smaller version of this patch. Close enough?
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.