Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

PHP7.4 #944

Description

@arkylin

Fedora30 server
PHP7.4a3
make
/bin/sh /root/pthreads/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/root/pthreads -DPHP_ATOM_INC -I/root/pthreads/include -I/root/pthreads/main -I/root/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/root/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /root/pthreads/php_pthreads.c -o php_pthreads.lo
mkdir .libs
cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/root/pthreads -DPHP_ATOM_INC -I/root/pthreads/include -I/root/pthreads/main -I/root/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/root/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /root/pthreads/php_pthreads.c -fPIC -DPIC -o .libs/php_pthreads.o
In file included from /root/pthreads/php_pthreads.c:51:
./src/copy.h: 在函数‘pthreads_copy_user_function’中:
./src/copy.h:346:12: 错误:‘zend_op_array’ {或称 ‘struct _zend_op_array’} has no member named ‘run_time_cache’; did you mean ‘run_time_cache__ptr’?
346 | op_array->run_time_cache = NULL;
| ^~~~~~~~~~~~~~
| run_time_cache__ptr
/root/pthreads/php_pthreads.c: 在函数‘zm_startup_pthreads’中:
/root/pthreads/php_pthreads.c:758:35: 警告:assignment to ‘zend_object_write_property_t’ {或称 ‘struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct , void **)’} from incompatible pointer type ‘void ()(zval *, zval *, zval , void **)’ {或称 ‘void ()(struct _zval_struct *, struct _zval_struct *, struct _zval_struct , void **)’} [-Wincompatible-pointer-types]
758 | pthreads_handlers.write_property = pthreads_write_property;
| ^
/root/pthreads/php_pthreads.c:782:42: 警告:assignment to ‘zend_object_write_property_t’ {或称 ‘struct _zval_struct * (
)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct , void **)’} from incompatible pointer type ‘void ()(zval *, zval *, zval , void **)’ {或称 ‘void ()(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)’} [-Wincompatible-pointer-types]
782 | pthreads_socket_handlers.write_property = pthreads_write_property_disallow;
| ^
make: *** [Makefile:194:php_pthreads.lo] 错误 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions