------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-08 19:53 ------- The code is in fact invalid.
friend should not inject the class at all. The reason why we did not have a deprecated period or allow it with -fpermissive is because we actually got a bug report about accepting this invalid code. Just add the forward declaration. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22378