This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49973] Column numbers count special characters as multiple columns
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 10:28:08 +0000
- Subject: [Bug c++/49973] Column numbers count special characters as multiple columns
- Auto-submitted: auto-generated
- References: <bug-49973-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-04 10:27:53 UTC ---
Depends on how the column numbers are defined. I think gcc uses bytes from the
beginning of the line, then 12 is correct (and e.g. for tab characters gcc
counts them as one instead of 1-8 depending on position too).