This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]