RFC: Deprecate (a little bit) of C++ attribute syntax

Neil Booth neil@daikokuya.co.uk
Tue Aug 13 23:24:00 GMT 2002


Mark Mitchell wrote:-

> Therefore, I'm proposing deprecating this syntax in GCC 3.3 and
> removing it in GCC 3.4 (with the new parser).  I'm not sure if I can
> get the old parser to actually warn about this (it's confused and
> thinks the parenthesized initializer is part of the declarator, but
> there is then later magic to untangle that!) -- but I will try.
> 
> Objections?

I'm all for making the attribute syntax tighter.  Can you enforce
the same rules for C too?  Otherwise the C/C++ merge will be a mess.

Neil.



More information about the Gcc mailing list