friend declarations in gcc 4
Brought to you by:
upuaut
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.
patch to fix name qualifications in friend declarations