This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/49973] Column numbers count special characters as multiple columns
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Dec 2011 20:56:01 +0000
- Subject: [Bug preprocessor/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
--- Comment #10 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-12-07 20:56:01 UTC ---
On Wed, 7 Dec 2011, tromey at gcc dot gnu.org wrote:
> Note that GCC also handles the tab case incorrectly here.
Yes, GCC should be fixed to follow the GCS there as well.
The GCS now explicitly say "For non-ASCII characters, Unicode character
widths should be used when in a UTF-8 locale; GNU libc and GNU gnulib
provide suitable @code{wcwidth} functions."