[Bug other/31754] Include column number along line in error messages main.cpp:5:38
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 26 05:36:00 GMT 2007
------- Comment #1 from tromey at gcc dot gnu dot org 2007-10-26 05:35 -------
Note that even with mapped locations this gives the wrong result.
The C++ parser has some column-number bugs.
opsy. g++ -Wall -fsyntax-only z.cc
z.cc: In function Âint main()Â:
z.cc:8:61: error: wrong type argument to unary minus
Column 61 is the closing paren around the "+" expression.
Column 46 would be best.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-10-26 05:35:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754
More information about the Gcc-bugs
mailing list