This is the mail archive of the
mailing list for the GCC project.
Re: RFC: Deprecate (a little bit) of C++ attribute syntax
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, jason at redhat dot com, nathan at codesourcery dot com,gdr at codesourcery dot com
- Date: Wed, 14 Aug 2002 07:23:51 +0100
- Subject: Re: RFC: Deprecate (a little bit) of C++ attribute syntax
- References: <200208132257.g7DMvle32325@localhost.localdomain>
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.
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.