[Bug c++/36888] Error message when forgetting a semicolon after a class definition should be better
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 4 23:32:00 GMT 2009
------- Comment #3 from manu at gcc dot gnu dot org 2009-08-04 23:32 -------
The C parser points to the start of the second declaration, which is not very
good either.
pr36888.c:5:1: error: two or more data types in declaration specifiers
In the c-parser, we can probably special case the struct/union case. It seems a
waste of time to check for keywords after the closing brace of a struct/union.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-04 23:32:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36888
More information about the Gcc-bugs
mailing list