This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33468] [4.1/4.2/4.3 Regression] C++: Invalid interpretation of friendness with nested classes
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2007 20:33:52 -0000
- Subject: [Bug c++/33468] [4.1/4.2/4.3 Regression] C++: Invalid interpretation of friendness with nested classes
- References: <bug-33468-11160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from simartin at gcc dot gnu dot org 2007-11-10 20:33 -------
For information, the compiler accepts this because it implements DR 45
(http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#45).
It looks like the implementation has been in for a long time, but the it did
not work completely, and it was fixed to fix PR#18681. This could explain why
this code was accepted up to 4.0.3.
--
simartin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simartin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33468