On Aug 4 22:48, Jon Turney wrote:
> This disables a warning seen with gcc 12 caused by intrinsics used by
> the inline implementation of NtCurrentTeb() inside w32api headers.
>
> > In function ‘long long unsigned int __readgsqword(unsigned int)’,
> > inlined from ‘_TEB* NtCurrentTeb()’ at
>
On Aug 4 22:48, Jon Turney wrote:
> Fix warnings with gcc 12 about narrowing conversions of NTSTATUS
> constants when used as case labels, e.g:
>
> > ../../../../src/winsup/cygwin/exceptions.cc: In static member function
> > ‘static int exception::handle(EXCEPTION_RECORD*, void*, CONTEXT*,
> >
On Aug 4 22:48, Jon Turney wrote:
> Fix a gcc 12 warning about an address known to be non-NULL in
> format_proc_locale_proc().
>
> > ../../../../src/winsup/cygwin/fhandler/proc.cc: In function ‘BOOL
> > format_proc_locale_proc(LPWSTR, DWORD, LPARAM)’:
> > ../../../../src/winsup/cygwin/fhandler/p
On Aug 4 22:48, Jon Turney wrote:
> Fix a gcc 12 warning about a narrowing conversion in case labels for
> tape options.
>
> > In file included from /wip/cygwin/src/winsup/cygwin/include/sys/mtio.h:14,
> > from ../../../../src/winsup/cygwin/fhandler/tape.cc:13:
> > ../../../../sr
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/cygwin/net.cc:1940:18: error: narr