This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15787] Poor error message


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]