https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125451
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.2
Summary|wcwidth broken with gcc 16 |[16/17 Regression] wcwidth
|on cygwin |broken with gcc 16 on
| |cygwin
Target|cygwin |x86_64-cygwin
--- Comment #11 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So if we look at the wcwidth declaration:
typedef short unsigned int wchar_t;
int wcwidth (const wchar_t);
So the ABI for x86_64 is the upper bits here are unspecified. So the question
is wcwidth actually expected unsigned int or unsigned short?