wcwidth broken with gcc 16
ASSI
Stromeko@nexgo.de
Mon Jun 1 05:04:59 GMT 2026
Thomas Wolff via Cygwin writes:
> You explain what I had already conceded before, that I had overlooked
> the prototype and the intended functionality did not work:
> printf("%d\n", wcwidth(0x13000)); // should be 1
> printf("%d\n", wcwidth(0x1F500)); // should be 2
>
> So why not establish that functionality with an easy tweak that does
> not interfere with anything?
Which part of "you must not change a standard public API" is unclear to
you? Especially when it would make things binary incompatible?
WCHAR_MAX is 0xffffu on Cygwin, so the above is illegal input to
wcwidth and it never worked.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
More information about the Cygwin
mailing list