This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]