Skip to content

Commit f8eb6eb

Browse files
committed
assert no compiler warnings with CI
1 parent 800c784 commit f8eb6eb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/scripts/windows/build_task.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,7 @@ if %errorlevel% neq 0 exit /b 3
4949
if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts
5050
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
5151

52-
rem Some undefined behavior is reported on 32-bit, this should be fixed
53-
if "%PLATFORM%" == "x86" (
54-
set CFLAGS=/W1
55-
) else (
56-
set CFLAGS=/W1 /WX
57-
)
52+
set CFLAGS=/W1 /WX
5853

5954
patch --binary %DEPS_DIR%\include\net-snmp\net-snmp-config.h -i %~dp0net-snmp-config.h.patch.bin
6055

0 commit comments

Comments
 (0)