We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34acbe7 commit 2f058acCopy full SHA for 2f058ac
Zend/Zend.m4
@@ -221,7 +221,10 @@ else
221
AC_DEFINE(ZEND_DEBUG,0,[ ])
222
fi
223
224
-test -n "$GCC" && CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing"
+test -n "$GCC" && CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wextra -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare"
225
+dnl Check if compiler supports -Wn-clobbered (only GCC)
226
+AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="$CFLAGS -Wno-clobbered", , [-Werror])
227
+
228
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
229
230
if test "$ZEND_ZTS" = "yes"; then
0 commit comments