This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20478] New: poor diagnostic
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2005 04:13:46 -0000
- Subject: [Bug c++/20478] New: poor diagnostic
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The actual error is a missing right paren on line 137 of opApi.cc, which should
read:
vec<flow>()))),
but the compiler gives:
opApi.cc:134: error: expected primary-expression before '(' token
opApi.cc:157: error: expected `)' before '}' token
opApi.cc:157: error: no matching function for call to `opApi< flow>::opApi()'
Ivan
--
Summary: poor diagnostic
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=20478