https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125451

--- Comment #15 from Thomas Wolff <towo at computer dot org> ---
I see that wchar.h has
int     wcwidth (const wchar_t);
(which is different from the manual page).
The include file is identical on both systems.

If gcc takes this as a short parameter as you indicate, why does gcc extend the
parameter value at all?
And if it does so, beyond the width specified in the include file, it should
respect the unsignedness of the parameter type, I think. Why got this changed
in the first place?

I'll also report this observation to cygwin, anyway.

Reply via email to