From 41ece7f5f320a3155200864d6dd13ba8b3633e62 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 28 Nov 2024 18:53:12 +0100 Subject: [PATCH] Elevate C4013 to level 1 C4013 warns about undefined functions[1], but for some reason is only a level 3 warning, and such suppressed by default (usually there will be link error 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 7a2824e299708..3c8dc04d59b40 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 ^