On Thu, 26 Sep 2019, Lewis Hyatt wrote:

> A couple notes: 
>     - In order to avoid any portability problems with wchar_t, the
> equivalent of wcwidth() from libc is implemented in-house.

I'm uneasy about contrib/gen_wcwidth.cpp doing the generation using host 
libc's wcwidth.  The effect is that libcpp/generated_cpp_wcwidth.h is 
*not* reproducible unless you know exactly what host (libc version, locale 
used when running the program, distribution patches to libc and locale 
data) was used to run the program.  I think we need a generator that works 
from Unicode data in some way so we can explicitly say what version of the 
(unmodified) Unicode data was used.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to