[Bug c++/49973] New: Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Summary: Column numbers count special characters as multiple columns Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #2 from Timothy Liang timothy003 at msn dot com 2011-08-04 10:36:53 UTC --- (In reply to comment #1) Depends on how the column numbers are defined. I think gcc uses bytes from the beginning of the line, then 12 is correct

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #4 from Timothy Liang timothy003 at msn dot com 2011-08-04 11:03:32 UTC --- (In reply to comment #3) Why 10? /* δΈ­ */ has 12 characters (and 14 bytes as utf8). The four spaces is supposed to be a tab. Also, the column number

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #8 from Timothy Liang timothy003 at msn dot com 2011-08-04 19:52:31 UTC --- (In reply to comment #7) (In reply to comment #6) The GCS says column numbers should start from 1 at the beginning of the line ... Calculate column