This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16663] New: Poor error recovery
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2004 23:07:11 -0000
- Subject: [Bug c++/16663] New: Poor error recovery
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void Foo(misspelled a, char b, bool c, float f);
gets you
foo.cc:1: error: variable or field `Foo' declared void
foo.cc:1: error: `misspelled' was not declared in this scope
foo.cc:1: error: expected primary-expression before "char"
foo.cc:1: error: expected primary-expression before "bool"
foo.cc:1: error: expected primary-expression before "float"
foo.cc:1: error: initializer expression list treated as compound expression
--
Summary: Poor error recovery
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16663