Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-06 Thread Jon Turney
On 05/08/2024 11:22, Corinna Vinschen wrote: On Aug 4 22:48, Jon Turney wrote: Fix gcc 12 warnings about narrowing conversions of socket ioctl constants when used as case labels, e.g: ../../../../src/winsup/cygwin/net.cc: In function ‘int get_ifconf(ifconf*, int)’: ../../../../src/winsup/cyg

Re: [PATCH 6/6] Cygwin: Suppress false positive use-after-free warnings in __set_lc_time_from_win()

2024-08-06 Thread Jon Turney
On 04/08/2024 22:48, Jon Turney wrote: Supress new use-after-free warnings about realloc(), seen with gcc 12, e.g.: In function ‘void rebase_locale_buf(const void*, const void*, const char*, const char*, const char*)’, inlined from ‘int __set_lc_time_from_win(const char*, const lc_time_T*