No longer special case a set of warnings, to make up our own -Werror,
just use -Werror outright. This shouldn’t really have any effect on
existing builders, who were already using --enable-werror
, and is more
inline with what they would expect --enable-werror
to be, which is
erroring on any/all warnings.
We keep -Wno-error=return-type
because we know that is broken when using
mingw-w64. It should only be applied when cross-compiling for Windows.
Similar to the change in #20544, but with (hopefully) less work-arounds, and other bundled changes. A step towards some configure “cleanups”.