This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14510] [3.4/3.5 Regression] Lookup error between function name and struct name
- 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: 10 Mar 2004 14:49:47 -0000
- Subject: [Bug c++/14510] [3.4/3.5 Regression] Lookup error between function name and struct name
- References: <20040310065525.14510.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-10 14:49 -------
Here is something smaller:
struct c{ };
namespace A
{
int c(struct c*req);
}
int A::c(struct c*req) { }
It looks like it is trying to look up the struct c in the namespace even though there is one at the global
scope.
Mark, I feel that this bug should targeted towards 3.4.0 as it blocks ACE which is on the Criteria page
for 3.3 and is on the draft of the Criteria page for 3.4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
OtherBugsDependingO| |12944
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14510