Thomas Wolff via Cygwin writes: > The patch is already on the newlib mailing list.
The input parameter is supposed to be wchar_t, not wint_t (per POSIX and also the previous implementation), so I#d leave that alone. > Yeah, I forgot to type-extend also the include file back in 2018 :-( > but that made no difference so far, only now in gcc 16, as explained > by Drea in that issue: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125451#c16 Just pun the type in the stub implementation, which would automatically happen (I think) since there's already an assignment of the input parameter from the POSIX wcwidth (wchar_t) to a local variable that has type wint_t. And since that's not a function call but an assignment, the promotion rules should be correct for your application without any cast. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

