------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-23 20:38 ------- This is a dup of bug 19403. The problem is that GCC before 4.0.0, the friend was saying the wrong friend was a friend of B. But in 4.0.0 we get that right but a decided that the class was declared in the namespace which is wrong, it should not be injected. This is all fixed already on the mainline.
*** This bug has been marked as a duplicate of 19403 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21181