This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20311] poor diagnostic
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2005 07:47:39 -0000
- Subject: [Bug c++/20311] poor diagnostic
- References: <20050304071126.20311.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From igodard at pacbell dot net 2005-03-04 07:47 -------
"To tell you the truth, a template is not a type."
Exactly, yet the diagnostic says it is an (unknown) type, which is false.
Yes, I know this code is an error; that's not the reported bug. The report is
about the *diagnostic*. Yes, there is an error here and the compiler should give
a diagnostic, but it should give a *better* one than it did. This is a QOI
issue, not a correctness issue. Reopened.
Ivan
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20311