Skip to content

Commit f60dc47

Browse files
committed
Re-enable -Wstrict-aliasing
We're not disabling -fstrict-aliasing to it's better to keep this warning. Closes GH-10821
1 parent f049585 commit f60dc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Zend.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ else
202202
AC_DEFINE(ZEND_DEBUG,0,[ ])
203203
fi
204204
205-
test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare $CFLAGS"
205+
test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-sign-compare $CFLAGS"
206206
dnl Check if compiler supports -Wno-clobbered (only GCC)
207207
AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="-Wno-clobbered $CFLAGS", , [-Werror])
208208
dnl Check for support for implicit fallthrough level 1, also add after previous CFLAGS as level 3 is enabled in -Wextra

0 commit comments

Comments
 (0)