This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2004 05:48:07 -0000
- Subject: [Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected
- References: <20041021205738.18100.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2004-12-08 05:48 -------
Subject: Re: [3.4/4.0 regression] template member with same
name as class not rejected
lerdsuwa at gcc dot gnu dot org wrote:
> ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-07 12:34 -------
> Patch for 3.4 is submitted:
> http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00450.html
(There is a typo in your test case; you meant "nested" instead of "ested".)
That aside, I'm concerned that this fix might cause something else to
break, and, given that the problem is only a missed diagnostic, I do not
think that's a good tradeoff. Nathan, what do you think?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18100