This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15787] Poor error message
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2004 21:37:57 -0000
- Subject: [Bug c++/15787] Poor error message
- References: <20040602213140.15787.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From igodard at pacbell dot net 2004-06-02 21:37 -------
p.s. Also put the line number of the opener in the info on that side stack. Then you can say "expected...; possibly a missing '}' matching the '{' on line 17?".
You wouldn't really need this in Algol68 or other languages with distinct opener/closer pairs, but in C with the heavy overload of "{}" and "()" it would be real helpful. And you *are* trying to be helpful, aren't you? :-)
Ivan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15787