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