]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: suppress a warning generated with w32api >= 12.0.0
authorJon Turney <jon.turney@dronecode.org.uk>
Fri, 7 Jun 2024 16:29:10 +0000 (17:29 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Sun, 16 Jun 2024 14:30:34 +0000 (15:30 +0100)
commit7e3c833592b282355a57dd34459b152e4e078d19
tree4401be0b6a93d6f209f324d1e10c833c846ff8a5
parent1ed15161362b2eb5649b049b7ab0aaf8097bd43a
Cygwin: suppress a warning generated with w32api >= 12.0.0

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()':
../../../../winsup/cygwin/exceptions.cc:1720:33: error: '<anonymous>' may be used uninitialized in this function [-Werror=maybe-uninitialized]
winsup/cygwin/exceptions.cc
This page took 0.029686 seconds and 5 git commands to generate.