------- Comment #5 from pato101 at gmail dot com  2006-03-03 14:39 -------
(In reply to comment #2)
> (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
> 

OK, I'm not a C++ guru an I assume I'm wrong. Btw, I don't really understand
what injection is, and I've been unable to see what's wrong regarding what I
read at the gcc-4.0/changes.html page. I can live with that, for sure, so don't
worry; for me, knowing the fact is that kind of declaration is no longer valid
is enough.

You say that -ffriend-injection won't solve this issue. The problem is that
this syntax was common use before and I have tons of software with those
"artifacts"... is there any "compatibility option" to handle them?

Thanks for your attention.


-- 


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

Reply via email to