pthreads icon indicating copy to clipboard operation
pthreads copied to clipboard

PHP7.4

Open arkylin opened this issue 5 years ago • 2 comments

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

arkylin avatar Jul 12 '19 15:07 arkylin

同样的问题 The same problems.

kasuganosoras avatar Aug 12 '19 06:08 kasuganosoras

#929

dktapps avatar Aug 12 '19 07:08 dktapps