Re: [PATCH] Cygwin: Suppress a warning generated with w32api >= 12.0.0

2024-06-16 Thread Jon Turney
On 08/06/2024 17:43, Takashi Yano wrote: On Fri, 7 Jun 2024 17:37:24 +0100 Jon Turney wrote: w32api 12.0.0 adds the returns_twice attribute to RtlCaptureContext(). There's some data-flow interaction with using it inside a while loop which causes a maybe-uninitialized warning. ../../../../winsu

Re: [PATCH] Cygwin: Suppress a warning generated with w32api >= 12.0.0

2024-06-08 Thread Takashi Yano
On Fri, 7 Jun 2024 17:37:24 +0100 Jon Turney wrote: > w32api 12.0.0 adds the returns_twice attribute to RtlCaptureContext(). > There's some data-flow interaction with using it inside a while loop > which causes a maybe-uninitialized warning. > > ../../../../winsup/cygwin/exceptions.cc: In member

[PATCH] Cygwin: Suppress a warning generated with w32api >= 12.0.0

2024-06-07 Thread Jon Turney
w32api 12.0.0 adds the returns_twice attribute to RtlCaptureContext(). There's some data-flow interaction with using it inside a while loop which causes a maybe-uninitialized warning. ../../../../winsup/cygwin/exceptions.cc: In member function 'int _cygtls::call_signal_handler()':