This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11987] [3.4/3.5 regression] Accepts-invalid with inherited nested type
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 14:34:14 -0000
- Subject: [Bug c++/11987] [3.4/3.5 regression] Accepts-invalid with inherited nested type
- References: <20030819225102.11987.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-02-03 14:34 -------
Your knowledge in this area is certainly better than mine, so
I trust your judgment.
As one datapoint, though, here is what icc says about my testcase:
g/x> icc -c x.cc -Xc -ansi
x.cc(10): error: "Y<dim>::I" is not a class template
Y<dim>::I::I () {} // note: I is nested type in X, not Y!
^
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11987