[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 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 numbers assuming that sp

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

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2011-08-04 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #6 from joseph at codesourcery dot com 2011-08-04 14:38:16 UTC --- The GCS says "column numbers should start from 1 at the beginning of the line ... Calculate column numbers assuming that space and all ASCII printing characters have

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

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[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 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 starts from one. So: /

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

2011-08-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #3 from Andreas Schwab 2011-08-04 10:55:13 UTC --- Why 10? "/* 中 */ " has 12 characters (and 14 bytes as utf8).

[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 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 (and e.g. for tab characters g

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

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f