mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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.
This commit is contained in:
committed by
GitHub
parent
2f09c0ed0f
commit
fbfc89944d
7
.github/scripts/windows/build_task.bat
vendored
7
.github/scripts/windows/build_task.bat
vendored
@@ -31,12 +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%
|
||||
|
||||
rem Some undefined behavior is reported on 32-bit, this should be fixed
|
||||
if "%PLATFORM%" == "x86" (
|
||||
set CFLAGS=/W1
|
||||
) else (
|
||||
set CFLAGS=/W1 /WX
|
||||
)
|
||||
set CFLAGS=/W1 /WX
|
||||
|
||||
cmd /c configure.bat ^
|
||||
--enable-snapshot-build ^
|
||||
|
||||
Reference in New Issue
Block a user