This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[C++] Extensions deprecated in 3.4
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc at gcc dot gnu dot org>
- Cc: <lerdsuwa at users dot sourceforge dot net>
- Date: Tue, 2 Nov 2004 12:54:49 +0100
- Subject: [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