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]

[C++] Extensions deprecated in 3.4


Hello,

http://gcc.gnu.org/gcc-3.4/changes.html lists the following two extensions as
deprecated:

Default arguments in function types have been deprecated and will be removed.
ARM-style name-injection of friend declarations has been deprecated and will be
removed. For example: struct S { friend void f(); }; void g() { f(); } will not
be accepted by future versions of G++; instead a declaration of "f" will need
to be present outside of the scope of "S".

I believe the latter is being taken care of by Kriang with his work on friend
name injection, right?

What about the first? Was it already removed from 4.0?

Giovanni Bajo



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