--- 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 frien
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-03 14:29 ---
(In reply to comment #3)
> (In reply to comment #1)
> > This is invalid C++. Use -ffriend-injection to make it work.
> >
> Wait, why is it invalid?
This was valid pre-standard C++, ARM C++ but is no longer valid.
--- Comment #3 from pato101 at gmail dot com 2006-03-03 14:26 ---
(In reply to comment #1)
> This is invalid C++. Use -ffriend-injection to make it work.
>
Wait, why is it invalid? At Bjarne Stroustrup's "C++ programming language"
third edition, chapter 11, section "11.5 Friends" at it
--- 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 al
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-03 11:42 ---
This is invalid C++. Use -ffriend-injection to make it work.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---