From 2473f57ba7c0ceeb6c08dfe335995925d0497028 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 29 Nov 2024 12:15:26 +0100 Subject: [PATCH] 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] --- .github/scripts/windows/build_task.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/windows/build_task.bat b/.github/scripts/windows/build_task.bat index 7a2824e2997..3c8dc04d59b 100644 --- a/.github/scripts/windows/build_task.bat +++ b/.github/scripts/windows/build_task.bat @@ -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 ^