This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11314] [DR139] unqualified lookup prefers functions to non-functions
- 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: 11 Dec 2005 23:19:25 -0000
- Subject: [Bug c++/11314] [DR139] unqualified lookup prefers functions to non-functions
- References: <bug-11314-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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