This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15538] Fails to recognize type name
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2004 11:03:05 -0000
- Subject: [Bug c++/15538] Fails to recognize type name
- References: <20040519095559.15538.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-19 11:03 -------
This is just a diagnostic problem see what ICC 6.0 says:
pr15538.cc
pr15538.cc(2): error: incomplete type is not allowed
class A {public: typedef int B; typename D::Q r;};
^
detected during:
instantiation of class "A<D> [with D=H<bool>]" at line 6
instantiation of class "H<G> [with G=bool]" at line 12
pr15538.cc(4): error: incomplete type is not allowed
{public: typedef int F; typename C<T>::Q q;};
^
detected during:
instantiation of class "E<T, C> [with T=bool, C=H]" at line 6
instantiation of class "H<G> [with G=bool]" at line 12
compilation aborted for pr15538.cc (code 2)
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-05-19 11:03:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15538