[Bug preprocessor/49973] Column numbers count multibyte characters as multiple columns
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 17 17:20:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973
--- Comment #15 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Lewis Hyatt from comment #13)
> I have one other question though. This quick attempt uses wchar.h, namely
> the mbrtowc() and wcwidth() functions. Firstly, it seems unfortunate to
> introduce a dependency on those, which may be problematic for Windows, etc.
Apart from Joseph suggestion, in a more general sense, there is no issue with
introducing a dependency on gnulib. It is a long-term goal to replace parts of
libiberty with gnulib: https://gcc.gnu.org/wiki/replacelibibertywithgnulib
More information about the Gcc-bugs
mailing list