Skip to content

Commit 6fa8e17

Browse files
committed
Sync -Wno-implicit-fallthrough
This is a sync of the php#6252: - ext/date: seems to be also fixed Synced in 743d1fd: - ext/hash - ext/opcache - ext/pcre
1 parent 9f74329 commit 6fa8e17

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/date/config0.m4

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ AC_CHECK_HEADERS([io.h])
44
dnl Check for strtoll, atoll
55
AC_CHECK_FUNCS([strtoll atoll])
66

7-
AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough],
8-
[PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough"],,
9-
[-Werror])
10-
11-
PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
7+
PHP_DATE_CFLAGS="-I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
128
timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c
139
lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c"
1410

0 commit comments

Comments
 (0)