This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (and e.g. for tab characters gcc
> counts them as one instead of 1-8 depending on position too).

That isn't the case here.  Substituting the 'ä' for another character makes the
column number 10.  Setting -finput-charset=latin1 makes the column number 15.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]