Skip to content

Commit 6b427aa

Browse files
committed
DEBUG /W1 /WX for Win x86 too (make warning fatal)
1 parent 66d2616 commit 6b427aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/scripts/windows/build_task.bat

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ if %errorlevel% neq 0 exit /b 3
5555
if "%THREAD_SAFE%" equ "" set ADD_CONF=%ADD_CONF% --disable-zts
5656
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
5757

58-
if "%PLATFORM%" == "x86" (
59-
set CFLAGS=/W1
60-
) else (
61-
set CFLAGS=/W1 /WX
62-
)
58+
set CFLAGS=/W1 /WX
6359

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

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ function main(): void
754754
$ignored_by_ext = 0;
755755
sort($exts_to_test);
756756
$test_dirs = [];
757-
$optionals = ['Zend', 'tests', 'ext', 'sapi'];
757+
$optionals = ['ext/bcmath', 'ext/gmp'];
758758

759759
foreach ($optionals as $dir) {
760760
if (is_dir($dir)) {

0 commit comments

Comments
 (0)