Skip to content

Commit fbfc899

Browse files
authored
x86 builds on Windows are warning level 1 clean (GH-16170)
The only issue that was left was due to the old build of net-snmp 5.7.3; since updating to net-snmp 5.9.4, this is resolved. The patch has originally been provided by @mvorisek.
1 parent 2f09c0e commit fbfc899

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
@@ -31,12 +31,7 @@ if %errorlevel% neq 0 exit /b 3
3131
if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts
3232
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
3333

34-
rem Some undefined behavior is reported on 32-bit, this should be fixed
35-
if "%PLATFORM%" == "x86" (
36-
set CFLAGS=/W1
37-
) else (
38-
set CFLAGS=/W1 /WX
39-
)
34+
set CFLAGS=/W1 /WX
4035

4136
cmd /c configure.bat ^
4237
--enable-snapshot-build ^

0 commit comments

Comments
 (0)