------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-04 02:17 ------- friend bool Compare( const Class& a, const Class& b ); Does not inject a function (or class).
Use the following option to get back the ARM (pre standard) behavior: -ffriend-injection Inject friend functions into enclosing namespace -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28597