This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11907] confusing message when using a class template instead of a class
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2003 18:59:37 -0000
- Subject: [Bug c++/11907] confusing message when using a class template instead of a class
- References: <20030813182651.11907.o.kullmann@swansea.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11907
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
Status|RESOLVED |UNCONFIRMED
Keywords|ice-on-invalid-code |diagnostic
Resolution|FIXED |
Summary|ICE on illegal code: using a|confusing message when using
|class template instead of a |a class template instead of
|class |a class
------- Additional Comments From bangerth at dealii dot org 2003-08-13 18:59 -------
Wait, let's reopen the bug: the error message is profoundly wrong: it says
x.cc:2: error: no class template named `X' in `N'
but really there _is_ a class template names 'X' and we access it as if it were
a type-name. I'd say the message is really confusing.
W.