Elevate C4013 to level 1 in CI (GH-16986)

C4013 warns about undefined functions[1], but for some reason it's only
a level 3 warning, and such suppressed by default (usually there will be
link errors afterwards, though).  It appears to be sensible to elevate
the warning to level 1, so it will be converted to a compile error.

[1] <https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4013>
This commit is contained in:
Christoph M. Becker 2024-11-29 12:15:26 +01:00 committed by GitHub
parent 284c4e3e31
commit 2473f57ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ if %errorlevel% neq 0 exit /b 3
if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
set CFLAGS=/W1 /WX
set CFLAGS=/W1 /WX /w14013
cmd /c configure.bat ^
--enable-snapshot-build ^