This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]