This is the mail archive of the gcc-bugs@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]

[Bug c++/26543] friend class declaration inside class scope ignored



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-03 13:44 -------
(In reply to comment #1)
> Use -ffriend-injection to make it work.

Note -ffriend-injection will not work in this case as -ffriend-injection is
only for friend functions and not for friend classes.
Anyways this is all documented on the changes page for 4.0.
http://gcc.gnu.org/gcc-4.0/changes.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26543


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