This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2006 16:48:27 -0000
- Subject: [Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration
- References: <bug-20665-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tbm at cyrius dot com 2006-03-21 16:48 -------
(In reply to comment #1)
> On the mainline I get:
> t.cc:1: error: template declaration of 'enum'
> t.cc:2: error: multiple types in one declaration
>
> There might be a dup of this bug somewhere.
Bug #16189 is the same and has some information why it's so hard to improve the
error message. Please mark them a dupes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20665