diff --git a/.github/scripts/windows/build_task.bat b/.github/scripts/windows/build_task.bat index b1b994e2034d7..89b1b8f19a9d1 100644 --- a/.github/scripts/windows/build_task.bat +++ b/.github/scripts/windows/build_task.bat @@ -32,7 +32,11 @@ if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS% if "%ASAN%" equ "1" set ADD_CONF=%ADD_CONF% --enable-sanitizer --enable-debug-pack -set CFLAGS=/W2 /WX /w14013 /wd4146 /wd4244 +rem C4018: comparison: signed/unsigned mismatch +rem C4146: unary minus operator applied to unsigned type +rem C4244: type conversion, possible loss of data +rem C4267: 'size_t' type conversion, possible loss of data +set CFLAGS=/W3 /WX /wd4018 /wd4146 /wd4244 /wd4267 cmd /c configure.bat ^ --enable-snapshot-build ^