[Bug c++/14510] [3.4/3.5 Regression] Lookup error between function name and struct name

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 10 14:49:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list