Skip to content

Commit f6f842b

Browse files
committed
Raise level to 5 to find more issues
1 parent 20ce312 commit f6f842b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Zend/Zend.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-unused-paramet
210210
dnl Check if compiler supports -Wno-clobbered (only GCC)
211211
AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="-Wno-clobbered $CFLAGS", , [-Werror])
212212
dnl Check for support for implicit fallthrough level 1, also add after previous CFLAGS as level 3 is enabled in -Wextra
213-
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough=1], CFLAGS="$CFLAGS -Wimplicit-fallthrough=1", , [-Werror])
213+
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough=5], CFLAGS="$CFLAGS -Wimplicit-fallthrough=5", , [-Werror])
214214
AX_CHECK_COMPILE_FLAG([-Wduplicated-cond], CFLAGS="-Wduplicated-cond $CFLAGS", , [-Werror])
215215
AX_CHECK_COMPILE_FLAG([-Wlogical-op], CFLAGS="-Wlogical-op $CFLAGS", , [-Werror])
216216
AX_CHECK_COMPILE_FLAG([-Wformat-truncation], CFLAGS="-Wformat-truncation $CFLAGS", , [-Werror])

azure/configure.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ steps:
6666
--with-pdo-dblib \
6767
--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient \
6868
--with-oci8=shared,instantclient,/opt/oracle/instantclient \
69-
--enable-werror \
7069
--with-config-file-path=/etc \
7170
--with-config-file-scan-dir=/etc/php.d
7271
displayName: 'Configure Build'

0 commit comments

Comments
 (0)