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: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2005 15:06:51 -0000
- Subject: [Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration
- References: <20050328020450.20665.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-03-28 15:06 -------
Yes, there are multiple PRs in the database about diagnostics when people
forget the semicolon at the end of a struct or class declaration. There are
also examples in these PRs that show why this case is so hard for the
parser to handle gracefully.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Summary|poor diagnostic |poor diagnostic for missing
| |semicolon at end of template
| |struct declaration
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20665