[Bug c++/11314] [DR139] unqualified lookup prefers functions to non-functions
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 11 23:19:00 GMT 2005
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-11 23:19 -------
This is fixed in 4.1.0 as what is happening before was the friend was injecting
when it should not have been. This was fixed by the patch which fixed PR 7874.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |7874
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
Bug 11314 depends on bug 7874, which changed state.
Bug 7874 Summary: [3.4/4.0/4.1 regression] g++ finds friend functions defined in class-definition but not declared in the enclosing namespace
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7874
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11314
More information about the Gcc-bugs
mailing list