[Bug c++/18100] [3.4/4.0 regression] template member with same name as class not rejected
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 8 05:48:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list