[PATCH 0/6] Fix/supress warnings with gcc 12

Jon Turney jon.turney@dronecode.org.uk
Sun Aug 4 21:48:21 GMT 2024


Fix/supress warnings seen with gcc 12.

Jon Turney (6):
  Cygwin: Suppress array-bounds warning from NtCurrentTeb()
  Cygwin: Fix warnings about narrowing conversions of NTSTATUS constants
  Cygwin: Fix warning about address known to be non-NULL in
    /proc/locales
  Cygwin: Fix warning about narrowing conversions in tape options
  Cygwin: Fix warnings about narrowing conversions of socket ioctls
  Cygwin: Suppress false positive use-after-free warnings in
    __set_lc_time_from_win()

 winsup/cygwin/exceptions.cc            |  2 +-
 winsup/cygwin/fhandler/proc.cc         |  3 +--
 winsup/cygwin/fhandler/tape.cc         |  4 ++--
 winsup/cygwin/local_includes/mtinfo.h  |  2 +-
 winsup/cygwin/local_includes/ntdll.h   |  2 +-
 winsup/cygwin/local_includes/winlean.h |  3 +++
 winsup/cygwin/net.cc                   |  2 +-
 winsup/cygwin/nlsfuncs.cc              | 10 ++++++++++
 winsup/cygwin/pinfo.cc                 |  2 +-
 winsup/cygwin/sigproc.cc               |  2 +-
 10 files changed, 22 insertions(+), 10 deletions(-)

-- 
2.45.1



More information about the Cygwin-patches mailing list