------- Comment #1 from fang at csl dot cornell dot edu  2006-12-18 17:07 
-------
ARM-style friend-injection of names into the parent namespaces has been removed
since gcc-4.1, as noted in:  

http://gcc.gnu.org/gcc-4.1/changes.html

You should add a forward declaration "class Bar;" before declaring it as a
friend.


-- 

fang at csl dot cornell dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fang at csl dot cornell dot
                   |                            |edu


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

Reply via email to