This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28597] friend function defined inside class declaration
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2006 02:17:15 -0000
- Subject: [Bug c++/28597] friend function defined inside class declaration
- References: <bug-28597-13056@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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