#4 friend declarations in gcc 4

open
nobody
None
5
2006-07-20
2006-07-20
No

http://gcc.gnu.org/gcc-4.0/changes.html:
"When declaring a friend class using an unqualified
name, classes outside the innermost non-class scope
are not searched"
But the "using" declarations are in the global scope,
causing the friend declarations to fail, leading to
access errors.

Discussion

  • patch to fix name qualifications in friend declarations