This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20478] poor parse error 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: 25 Jan 2008 22:35:22 -0000
- Subject: [Bug c++/20478] poor parse error diagnostic
- References: <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from igodard at pacbell dot net 2008-01-25 22:35 -------
Yes, it has always been understood that this code is invalid. The report is
about the quality of the diagnostic that was given, not whether a diagnostic
should be given. The diagnostics (three of them for one error) refer to a
location a *long* way from the actual error, and with no obvious (to me anyway)
syntactic relationship to the actual problem.
--
igodard at pacbell dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478