This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/31754] Include column number along line in error messages main.cpp:5:38
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2007 05:35:43 -0000
- Subject: [Bug other/31754] Include column number along line in error messages main.cpp:5:38
- References: <bug-31754-13581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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