Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error and Warning during 'make' on Ubuntu 20 #94

Closed
ljfreelancer88 opened this issue Feb 12, 2021 · 2 comments
Closed

Error and Warning during 'make' on Ubuntu 20 #94

ljfreelancer88 opened this issue Feb 12, 2021 · 2 comments

Comments

@ljfreelancer88
Copy link

ljfreelancer88 commented Feb 12, 2021

I tried to compile but I got these errors and warnings.

/bin/bash /var/www/html/php-libuv/php-uv/libtool --mode=compile cc  -I. -I/var/www/html/php-libuv/php-uv -DPHP_ATOM_INC -I/var/www/html/php-libuv/php-uv/include -I/var/www/html/php-libuv/php-uv/main -I/var/www/html/php-libuv/php-uv -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -lrt   -c /var/www/html/php-libuv/php-uv/php_uv.c -o php_uv.lo 
mkdir .libs
 cc -I. -I/var/www/html/php-libuv/php-uv -DPHP_ATOM_INC -I/var/www/html/php-libuv/php-uv/include -I/var/www/html/php-libuv/php-uv/main -I/var/www/html/php-libuv/php-uv -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -lrt -c /var/www/html/php-libuv/php-uv/php_uv.c  -fPIC -DPIC -o .libs/php_uv.o
/var/www/html/php-libuv/php-uv/php_uv.c:276:25: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
  276 | void static destruct_uv(zend_rsrc_list_entry *rsrc TSRMLS_DC);
      |                         ^~~~~~~~~~~~~~~~~~~~
      |                         zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_strerror’:
/var/www/html/php-libuv/php-uv/php_uv.c:359:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
  359 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:360:7: error: request for member ‘code’ in something not a structure or union
  360 |  error.code = error_code;
      |       ^
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_common_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:452:3: warning: implicit declaration of function ‘ZEND_REGISTER_RESOURCE’ [-Wimplicit-function-declaration]
  452 |   ZEND_REGISTER_RESOURCE(return_value, uv, uv_resource_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_cb_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:472:29: error: invalid operands to binary != (have ‘zval’ {aka ‘struct _zval_struct’} and ‘void *’)
  472 |   if (cb->fci.function_name != NULL) {
      |       ~~~~~~~~~~~~~~~~~~~~~ ^~
      |              |
      |              zval {aka struct _zval_struct}
/var/www/html/php-libuv/php-uv/php_uv.c:475:13: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘object_ptr’; did you mean ‘object’?
  475 |    if (fci->object_ptr) {
      |             ^~~~~~~~~~
      |             object
/var/www/html/php-libuv/php-uv/php_uv.c:476:28: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘object_ptr’; did you mean ‘object’?
  476 |     zval_ptr_dtor(&cb->fci.object_ptr);
      |                            ^~~~~~~~~~
      |                            object
In file included from /usr/include/php/20190902/Zend/zend.h:27,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/var/www/html/php-libuv/php-uv/php_uv.c:486:21: error: incompatible type for argument 1 of ‘zval_addref_p’
  486 |   Z_ADDREF_P(cb->fci.function_name);
      |              ~~~~~~~^~~~~~~~~~~~~~
      |                     |
      |                     zval {aka struct _zval_struct}
/usr/include/php/20190902/Zend/zend_types.h:979:41: note: in definition of macro ‘Z_ADDREF_P’
  979 | #define Z_ADDREF_P(pz)    zval_addref_p(pz)
      |                                         ^~
/usr/include/php/20190902/Zend/zend_types.h:1068:56: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval’ {aka ‘struct _zval_struct’}
 1068 | static zend_always_inline uint32_t zval_addref_p(zval* pz) {
      |                                                  ~~~~~~^~
/var/www/html/php-libuv/php-uv/php_uv.c:488:12: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘object_ptr’; did you mean ‘object’?
  488 |   if (fci->object_ptr) {
      |            ^~~~~~~~~~
      |            object
In file included from /usr/include/php/20190902/Zend/zend.h:27,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/var/www/html/php-libuv/php-uv/php_uv.c:489:23: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘object_ptr’; did you mean ‘object’?
  489 |    Z_ADDREF_P(cb->fci.object_ptr);
      |                       ^~~~~~~~~~
/usr/include/php/20190902/Zend/zend_types.h:979:41: note: in definition of macro ‘Z_ADDREF_P’
  979 | #define Z_ADDREF_P(pz)    zval_addref_p(pz)
      |                                         ^~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_lock_lock’:
/var/www/html/php-libuv/php-uv/php_uv.c:553:2: warning: implicit declaration of function ‘ZEND_FETCH_RESOURCE’; did you mean ‘ZEND_FETCH_LIST_R’? [-Wimplicit-function-declaration]
  553 |  ZEND_FETCH_RESOURCE(lock, php_uv_lock_t *, &handle, -1, PHP_UV_LOCK_RESOURCE_NAME, uv_lock_handle);
      |  ^~~~~~~~~~~~~~~~~~~
      |  ZEND_FETCH_LIST_R
/var/www/html/php-libuv/php-uv/php_uv.c:553:28: error: expected expression before ‘php_uv_lock_t’
  553 |  ZEND_FETCH_RESOURCE(lock, php_uv_lock_t *, &handle, -1, PHP_UV_LOCK_RESOURCE_NAME, uv_lock_handle);
      |                            ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_lock_unlock’:
/var/www/html/php-libuv/php-uv/php_uv.c:596:28: error: expected expression before ‘php_uv_lock_t’
  596 |  ZEND_FETCH_RESOURCE(lock, php_uv_lock_t *, &handle, -1, PHP_UV_LOCK_RESOURCE_NAME, uv_lock_handle);
      |                            ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_lock_trylock’:
/var/www/html/php-libuv/php-uv/php_uv.c:646:28: error: expected expression before ‘php_uv_lock_t’
  646 |  ZEND_FETCH_RESOURCE(lock, php_uv_lock_t *, &handle, -1, PHP_UV_LOCK_RESOURCE_NAME, uv_lock_handle);
      |                            ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_fs_common’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:731:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  731 |    PHP_UV_FS_SETUP_AND_EXECUTE(symlink, from, to, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:731:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  731 |    PHP_UV_FS_SETUP_AND_EXECUTE(symlink, from, to, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:740:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  740 |    PHP_UV_FS_SETUP_AND_EXECUTE(link, from, to);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:740:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  740 |    PHP_UV_FS_SETUP_AND_EXECUTE(link, from, to);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:750:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  750 |    PHP_UV_FS_SETUP_AND_EXECUTE(chmod, path, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:750:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  750 |    PHP_UV_FS_SETUP_AND_EXECUTE(chmod, path, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:760:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  760 |    PHP_UV_FS_SETUP_AND_EXECUTE(fchmod, fd, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:760:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  760 |    PHP_UV_FS_SETUP_AND_EXECUTE(fchmod, fd, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:769:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  769 |    PHP_UV_FS_SETUP_AND_EXECUTE(rename, from, to);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:769:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  769 |    PHP_UV_FS_SETUP_AND_EXECUTE(rename, from, to);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:778:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  778 |    PHP_UV_FS_SETUP_AND_EXECUTE(unlink, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:778:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  778 |    PHP_UV_FS_SETUP_AND_EXECUTE(unlink, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:787:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  787 |    PHP_UV_FS_SETUP_AND_EXECUTE(rmdir, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:787:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  787 |    PHP_UV_FS_SETUP_AND_EXECUTE(rmdir, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:797:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  797 |    PHP_UV_FS_SETUP_AND_EXECUTE(mkdir, path, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:797:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  797 |    PHP_UV_FS_SETUP_AND_EXECUTE(mkdir, path, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:807:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  807 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:807:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  807 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:116:7: warning: implicit declaration of function ‘php_uv_zval_to_fd’ [-Wimplicit-function-declaration]
  116 |  fd = php_uv_zval_to_fd(zstream TSRMLS_CC); \
      |       ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:808:4: note: in expansion of macro ‘PHP_UV_ZVAL_TO_FD’
  808 |    PHP_UV_ZVAL_TO_FD(fd, zstream);
      |    ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:818:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  818 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:818:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  818 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:829:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  829 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:829:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  829 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:840:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  840 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:840:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  840 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:853:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  853 |    PHP_UV_FS_SETUP_AND_EXECUTE(chown, path, uid, gid);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:853:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  853 |    PHP_UV_FS_SETUP_AND_EXECUTE(chown, path, uid, gid);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:863:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  863 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:863:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  863 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:875:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  875 |    PHP_UV_FS_SETUP_AND_EXECUTE(open, path, flag, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:875:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  875 |    PHP_UV_FS_SETUP_AND_EXECUTE(open, path, flag, mode);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:41: warning: passing argument 3 of ‘uv_fs_readdir’ from incompatible pointer type [-Wincompatible-pointer-types]
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |                                         ^~~~
      |                                         |
      |                                         char *
/var/www/html/php-libuv/php-uv/php_uv.c:128:51: note: in definition of macro ‘PHP_UV_FS_ASYNC’
  128 |  error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
      |                                                   ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1374:39: note: expected ‘uv_dir_t *’ {aka ‘struct uv_dir_s *’} but argument is of type ‘char *’
 1374 |                             uv_dir_t* dir,
      |                             ~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:47: warning: passing argument 4 of ‘uv_fs_readdir’ makes pointer from integer without a cast [-Wint-conversion]
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |                                               ^~~~~
      |                                               |
      |                                               long int
/var/www/html/php-libuv/php-uv/php_uv.c:128:51: note: in definition of macro ‘PHP_UV_FS_ASYNC’
  128 |  error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
      |                                                   ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1375:38: note: expected ‘uv_fs_cb’ {aka ‘void (*)(struct uv_fs_s *)’} but argument is of type ‘long int’
 1375 |                             uv_fs_cb cb);
      |                             ~~~~~~~~~^~
/var/www/html/php-libuv/php-uv/php_uv.c:128:10: error: too many arguments to function ‘uv_fs_readdir’
  128 |  error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
      |          ^~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:721:2: note: in expansion of macro ‘PHP_UV_FS_ASYNC’
  721 |  PHP_UV_FS_ASYNC(loop, command, __VA_ARGS__); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:885:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  885 |    PHP_UV_FS_SETUP_AND_EXECUTE(readdir, path, flags);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1372:15: note: declared here
 1372 | UV_EXTERN int uv_fs_readdir(uv_loop_t* loop,
      |               ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:894:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  894 |    PHP_UV_FS_SETUP_AND_EXECUTE(lstat, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:894:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  894 |    PHP_UV_FS_SETUP_AND_EXECUTE(lstat, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:903:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  903 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:903:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  903 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:914:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  914 |    PHP_UV_FS_SETUP_AND_EXECUTE(stat, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:914:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  914 |    PHP_UV_FS_SETUP_AND_EXECUTE(stat, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:924:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  924 |    PHP_UV_FS_SETUP_AND_EXECUTE(utime, path, utime, atime);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:924:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  924 |    PHP_UV_FS_SETUP_AND_EXECUTE(utime, path, utime, atime);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:934:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  934 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:934:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  934 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:945:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  945 |    PHP_UV_FS_SETUP_AND_EXECUTE(readlink, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:720:2: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  720 |  PHP_UV_FS_SETUP(); \
      |  ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:945:4: note: in expansion of macro ‘PHP_UV_FS_SETUP_AND_EXECUTE’
  945 |    PHP_UV_FS_SETUP_AND_EXECUTE(readlink, path);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:956:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  956 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:956:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  956 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:958:36: warning: passing argument 4 of ‘uv_fs_read’ from incompatible pointer type [-Wincompatible-pointer-types]
  958 |    PHP_UV_FS_ASYNC(loop, read, fd, uv_fs_read_buf, length, -1);
      |                                    ^~~~~~~~~~~~~~
      |                                    |
      |                                    char *
/var/www/html/php-libuv/php-uv/php_uv.c:128:51: note: in definition of macro ‘PHP_UV_FS_ASYNC’
  128 |  error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
      |                                                   ^~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1305:41: note: expected ‘const uv_buf_t *’ {aka ‘const struct uv_buf_t *’} but argument is of type ‘char *’
 1305 |                          const uv_buf_t bufs[],
      |                          ~~~~~~~~~~~~~~~^~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:969:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  969 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:969:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  969 |    PHP_UV_FS_SETUP()
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:714:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
  714 |  PHP_UV_INIT_UV(uv, IS_UV_FS); \
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:984:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  984 |    PHP_UV_FS_SETUP();
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:715:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
  715 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop); \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:984:4: note: in expansion of macro ‘PHP_UV_FS_SETUP’
  984 |    PHP_UV_FS_SETUP();
      |    ^~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:987:39: warning: passing argument 4 of ‘uv_fs_write’ from incompatible pointer type [-Wincompatible-pointer-types]
  987 |    PHP_UV_FS_ASYNC(loop, write, fd, uv->buffer, buffer_len, offset);
      |                                     ~~^~~~~~~~
      |                                       |
      |                                       char *
/var/www/html/php-libuv/php-uv/php_uv.c:128:51: note: in definition of macro ‘PHP_UV_FS_ASYNC’
  128 |  error = uv_fs_##func(loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
      |                                                   ^~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1316:42: note: expected ‘const uv_buf_t *’ {aka ‘const struct uv_buf_t *’} but argument is of type ‘char *’
 1316 |                           const uv_buf_t bufs[],
      |                           ~~~~~~~~~~~~~~~^~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_address_to_zval’:
/var/www/html/php-libuv/php-uv/php_uv.c:1013:2: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ [-Wimplicit-function-declaration]
 1013 |  MAKE_STD_ZVAL(tmp);
      |  ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1023:4: error: too many arguments to function ‘add_assoc_string_ex’
 1023 |    add_assoc_string_ex(tmp, "address",sizeof("address"), ip, 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1025:4: error: too many arguments to function ‘add_assoc_string_ex’
 1025 |    add_assoc_string_ex(tmp, "family",sizeof("family"), "IPv6", 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1034:4: error: too many arguments to function ‘add_assoc_string_ex’
 1034 |    add_assoc_string_ex(tmp, "address",sizeof("address"), ip, 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1036:4: error: too many arguments to function ‘add_assoc_string_ex’
 1036 |    add_assoc_string_ex(tmp, "family",sizeof("family"), "IPv4", 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: At top level:
/var/www/html/php-libuv/php-uv/php_uv.c:1046:37: error: unknown type name ‘uv_statbuf_t’
 1046 | static zval *php_uv_make_stat(const uv_statbuf_t *s)
      |                                     ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_make_stat’:
/var/www/html/php-libuv/php-uv/php_uv.c:1052:48: error: request for member ‘st_dev’ in something not a structure or union
 1052 |  add_assoc_long_ex(tmp, "dev", sizeof("dev"), s->st_dev);
      |                                                ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1053:48: error: request for member ‘st_ino’ in something not a structure or union
 1053 |  add_assoc_long_ex(tmp, "ino", sizeof("ino"), s->st_ino);
      |                                                ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1054:50: error: request for member ‘st_mode’ in something not a structure or union
 1054 |  add_assoc_long_ex(tmp, "mode", sizeof("mode"), s->st_mode);
      |                                                  ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1055:52: error: request for member ‘st_nlink’ in something not a structure or union
 1055 |  add_assoc_long_ex(tmp, "nlink", sizeof("nlink"), s->st_nlink);
      |                                                    ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1056:48: error: request for member ‘st_uid’ in something not a structure or union
 1056 |  add_assoc_long_ex(tmp, "uid", sizeof("uid"), s->st_uid);
      |                                                ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1057:48: error: request for member ‘st_gid’ in something not a structure or union
 1057 |  add_assoc_long_ex(tmp, "gid", sizeof("gid"), s->st_gid);
      |                                                ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1058:50: error: request for member ‘st_rdev’ in something not a structure or union
 1058 |  add_assoc_long_ex(tmp, "rdev", sizeof("rdev"), s->st_rdev);
      |                                                  ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1059:50: error: request for member ‘st_size’ in something not a structure or union
 1059 |  add_assoc_long_ex(tmp, "size", sizeof("size"), s->st_size);
      |                                                  ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1062:56: error: request for member ‘st_blksize’ in something not a structure or union
 1062 |  add_assoc_long_ex(tmp, "blksize", sizeof("blksize"), s->st_blksize);
      |                                                        ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1063:54: error: request for member ‘st_blocks’ in something not a structure or union
 1063 |  add_assoc_long_ex(tmp, "blocks", sizeof("blocks"), s->st_blocks);
      |                                                      ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1066:52: error: request for member ‘st_atim’ in something not a structure or union
 1066 |  add_assoc_long_ex(tmp, "atime", sizeof("atime"), s->st_atime);
      |                                                    ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1067:52: error: request for member ‘st_mtim’ in something not a structure or union
 1067 |  add_assoc_long_ex(tmp, "mtime", sizeof("mtime"), s->st_mtime);
      |                                                    ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1068:52: error: request for member ‘st_ctim’ in something not a structure or union
 1068 |  add_assoc_long_ex(tmp, "ctime", sizeof("ctime"), s->st_ctime);
      |                                                    ^~
/var/www/html/php-libuv/php-uv/php_uv.c: At top level:
/var/www/html/php-libuv/php-uv/php_uv.c:1076:30: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
 1076 | void static destruct_uv_lock(zend_rsrc_list_entry *rsrc TSRMLS_DC)
      |                              ^~~~~~~~~~~~~~~~~~~~
      |                              zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c:1110:30: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
 1110 | void static destruct_uv_loop(zend_rsrc_list_entry *rsrc TSRMLS_DC)
      |                              ^~~~~~~~~~~~~~~~~~~~
      |                              zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c:1118:34: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
 1118 | void static destruct_uv_sockaddr(zend_rsrc_list_entry *rsrc TSRMLS_DC)
      |                                  ^~~~~~~~~~~~~~~~~~~~
      |                                  zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c:1133:25: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
 1133 | void static destruct_uv(zend_rsrc_list_entry *rsrc TSRMLS_DC)
      |                         ^~~~~~~~~~~~~~~~~~~~
      |                         zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_do_callback’:
/var/www/html/php-libuv/php-uv/php_uv.c:1211:36: warning: passing argument 2 of ‘zend_fcall_info_init’ makes integer from pointer without a cast [-Wint-conversion]
 1211 |  if(zend_fcall_info_init(callback, &fci, &fcc TSRMLS_CC) == SUCCESS) {
      |                                    ^~~~
      |                                    |
      |                                    zend_fcall_info * {aka struct _zend_fcall_info *}
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:482:60: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘zend_fcall_info *’ {aka ‘struct _zend_fcall_info *’}
  482 | ZEND_API int zend_fcall_info_init(zval *callable, uint32_t check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_string **callable_name, char **error);
      |                                                   ~~~~~~~~~^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1211:42: warning: passing argument 3 of ‘zend_fcall_info_init’ from incompatible pointer type [-Wincompatible-pointer-types]
 1211 |  if(zend_fcall_info_init(callback, &fci, &fcc TSRMLS_CC) == SUCCESS) {
      |                                          ^~~~
      |                                          |
      |                                          zend_fcall_info_cache * {aka struct _zend_fcall_info_cache *}
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:482:90: note: expected ‘zend_fcall_info *’ {aka ‘struct _zend_fcall_info *’} but argument is of type ‘zend_fcall_info_cache *’ {aka ‘struct _zend_fcall_info_cache *’}
  482 | ZEND_API int zend_fcall_info_init(zval *callable, uint32_t check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_string **callable_name, char **error);
      |                                                                         ~~~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:1211:5: error: too few arguments to function ‘zend_fcall_info_init’
 1211 |  if(zend_fcall_info_init(callback, &fci, &fcc TSRMLS_CC) == SUCCESS) {
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:482:14: note: declared here
  482 | ZEND_API int zend_fcall_info_init(zval *callable, uint32_t check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_string **callable_name, char **error);
      |              ^~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1217:5: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘retval_ptr_ptr’
 1217 |  fci.retval_ptr_ptr = retval_ptr;
      |     ^
/var/www/html/php-libuv/php-uv/php_uv.c:1218:13: warning: assignment to ‘zval *’ {aka ‘struct _zval_struct *’} from incompatible pointer type ‘zval ***’ {aka ‘struct _zval_struct ***’} [-Wincompatible-pointer-types]
 1218 |  fci.params = params;
      |             ^
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_do_callback2’:
/var/www/html/php-libuv/php-uv/php_uv.c:1230:42: warning: assignment to ‘zval *’ {aka ‘struct _zval_struct *’} from incompatible pointer type ‘zval ***’ {aka ‘struct _zval_struct ***’} [-Wincompatible-pointer-types]
 1230 |   uv->callback[type]->fci.params         = params;
      |                                          ^
/var/www/html/php-libuv/php-uv/php_uv.c:1231:26: error: ‘zend_fcall_info’ {aka ‘struct _zend_fcall_info’} has no member named ‘retval_ptr_ptr’
 1231 |   uv->callback[type]->fci.retval_ptr_ptr = retval_ptr;
      |                          ^
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_tcp_connect_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1329:2: warning: implicit declaration of function ‘ZVAL_RESOURCE’; did you mean ‘IS_RESOURCE’? [-Wimplicit-function-declaration]
 1329 |  ZVAL_RESOURCE(client, uv->resource_id);
      |  ^~~~~~~~~~~~~
      |  IS_RESOURCE
/var/www/html/php-libuv/php-uv/php_uv.c:1337:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1337 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1340:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1340 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1341:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1341 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_process_close_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1365:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1365 |  zval_ptr_dtor(&retval_ptr);
      |                ^~~~~~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1366:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1366 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1367:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1367 |  zval_ptr_dtor(&proc);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1368:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1368 |  zval_ptr_dtor(&signal);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_pipe_connect_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1389:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1389 |  zval_ptr_dtor(&retval_ptr);
      |                ^~~~~~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1390:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1390 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1391:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1391 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_write_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1442:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1442 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1445:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1445 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1446:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1446 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_udp_send_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1476:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1476 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1477:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1477 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1480:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1480 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_listen_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1499:2: warning: implicit declaration of function ‘zend_list_addref’; did you mean ‘zend_list_free’? [-Wimplicit-function-declaration]
 1499 |  zend_list_addref(uv->resource_id);
      |  ^~~~~~~~~~~~~~~~
      |  zend_list_free
/var/www/html/php-libuv/php-uv/php_uv.c:1509:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1509 |  zval_ptr_dtor(&svr);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1510:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1510 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1512:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1512 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_close_cb2’:
/var/www/html/php-libuv/php-uv/php_uv.c:1522:21: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 1522 |  zend_list_delete(uv->resource_id);
      |                   ~~^~~~~~~~~~~~~
      |                     |
      |                     int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_shutdown_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1547:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1547 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1552:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1552 |  zval_ptr_dtor(&h);
      |                ^~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1553:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1553 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_read_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1568:40: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
 1568 |   ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |                                        ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:577: note: macro "ZVAL_STRINGL" defined here
  577 | #define ZVAL_STRINGL(z, s, l) do {    \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:1568:3: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
 1568 |   ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |   ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1568:3: note: each undeclared identifier is reported only once for each function it appears in
/var/www/html/php-libuv/php-uv/php_uv.c:1577:20: error: expected ‘;’ before ‘{’ token
 1577 |  MAKE_STD_ZVAL(err)
      |                    ^
      |                    ;
/var/www/html/php-libuv/php-uv/php_uv.c:1586:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1586 |  zval_ptr_dtor(&buffer);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1587:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1587 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1588:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1588 |  zval_ptr_dtor(&err);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1591:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1591 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_read2_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1612:40: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
 1612 |   ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |                                        ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:577: note: macro "ZVAL_STRINGL" defined here
  577 | #define ZVAL_STRINGL(z, s, l) do {    \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:1612:3: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
 1612 |   ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |   ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1621:20: error: expected ‘;’ before ‘{’ token
 1621 |  MAKE_STD_ZVAL(err)
      |                    ^
      |                    ;
/var/www/html/php-libuv/php-uv/php_uv.c:1634:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1634 |  zval_ptr_dtor(&buffer);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1635:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1635 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1636:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1636 |  zval_ptr_dtor(&err);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1637:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1637 |  zval_ptr_dtor(&pend);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1639:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1639 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_prepare_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1670:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1670 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1671:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1671 |  zval_ptr_dtor(&zstat);
      |                ^~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1673:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1673 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_check_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1700:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1700 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1701:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1701 |  zval_ptr_dtor(&zstat);
      |                ^~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1703:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1703 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_async_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1730:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1730 |  zval_ptr_dtor(&resource);
      |                ^~~~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1731:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1731 |  zval_ptr_dtor(&zstat);
      |                ^~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1733:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1733 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_fs_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1819:5: error: too many arguments to function ‘add_next_index_string’
 1819 |     add_next_index_string(dirent, namebuf, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:432:14: note: declared here
  432 | ZEND_API int add_next_index_string(zval *arg, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1832:38: error: unknown type name ‘uv_statbuf_t’
 1832 |     buffer = php_uv_make_stat((const uv_statbuf_t*)req->ptr);
      |                                      ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1843:18: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1843 |    zval_ptr_dtor(&result);
      |                  ^~~~~~~
      |                  |
      |                  zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1850:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
 1850 |    ZVAL_STRING(buffer, req->ptr, 1);
      |                                   ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:581: note: macro "ZVAL_STRING" defined here
  581 | #define ZVAL_STRING(z, s) do {     \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:1850:4: error: ‘ZVAL_STRING’ undeclared (first use in this function)
 1850 |    ZVAL_STRING(buffer, req->ptr, 1);
      |    ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1863:61: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
 1863 |     ZVAL_STRINGL(buffer, uv_fs_read_buf, uv->uv.fs.result, 1);
      |                                                             ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:577: note: macro "ZVAL_STRINGL" defined here
  577 | #define ZVAL_STRINGL(z, s, l) do {    \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:1863:5: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
 1863 |     ZVAL_STRINGL(buffer, uv_fs_read_buf, uv->uv.fs.result, 1);
      |     ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1908:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1908 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1912:23: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1912 |   zval_ptr_dtor(params[i]);
      |                 ~~~~~~^~~
      |                       |
      |                       zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_fs_event_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:1932:32: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
 1932 |   ZVAL_STRING(name, filename, 1);
      |                                ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:581: note: macro "ZVAL_STRING" defined here
  581 | #define ZVAL_STRING(z, s) do {     \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:1932:3: error: ‘ZVAL_STRING’ undeclared (first use in this function)
 1932 |   ZVAL_STRING(name, filename, 1);
      |   ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1949:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1949 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1953:22: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1953 |  zval_ptr_dtor(params[0]);
      |                ~~~~~~^~~
      |                      |
      |                      zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1954:22: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1954 |  zval_ptr_dtor(params[1]);
      |                ~~~~~~^~~
      |                      |
      |                      zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1955:22: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1955 |  zval_ptr_dtor(params[2]);
      |                ~~~~~~^~~
      |                      |
      |                      zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1956:22: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 1956 |  zval_ptr_dtor(params[3]);
      |                ~~~~~~^~~
      |                      |
      |                      zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: At top level:
/var/www/html/php-libuv/php-uv/php_uv.c:1959:56: error: unknown type name ‘uv_statbuf_t’
 1959 | static void php_uv_statbuf_to_zval(zval *result, const uv_statbuf_t *stat)
      |                                                        ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_statbuf_to_zval’:
/var/www/html/php-libuv/php-uv/php_uv.c:1963:54: error: request for member ‘st_dev’ in something not a structure or union
 1963 |  add_assoc_long_ex(result, "dev", sizeof("dev"), stat->st_dev);
      |                                                      ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1964:54: error: request for member ‘st_ino’ in something not a structure or union
 1964 |  add_assoc_long_ex(result, "ino", sizeof("ino"), stat->st_ino);
      |                                                      ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1965:56: error: request for member ‘st_mode’ in something not a structure or union
 1965 |  add_assoc_long_ex(result, "mode", sizeof("mode"), stat->st_mode);
      |                                                        ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1966:58: error: request for member ‘st_nlink’ in something not a structure or union
 1966 |  add_assoc_long_ex(result, "nlink", sizeof("nlink"), stat->st_nlink);
      |                                                          ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1967:54: error: request for member ‘st_uid’ in something not a structure or union
 1967 |  add_assoc_long_ex(result, "uid", sizeof("uid"), stat->st_uid);
      |                                                      ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1968:54: error: request for member ‘st_gid’ in something not a structure or union
 1968 |  add_assoc_long_ex(result, "gid", sizeof("gid"), stat->st_gid);
      |                                                      ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1969:56: error: request for member ‘st_rdev’ in something not a structure or union
 1969 |  add_assoc_long_ex(result, "rdev", sizeof("rdev"), stat->st_rdev);
      |                                                        ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1970:56: error: request for member ‘st_size’ in something not a structure or union
 1970 |  add_assoc_long_ex(result, "size", sizeof("size"), stat->st_size);
      |                                                        ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1973:62: error: request for member ‘st_blksize’ in something not a structure or union
 1973 |  add_assoc_long_ex(result, "blksize", sizeof("blksize"), stat->st_blksize);
      |                                                              ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1974:60: error: request for member ‘st_blocks’ in something not a structure or union
 1974 |  add_assoc_long_ex(result, "blocks", sizeof("blocks"), stat->st_blocks);
      |                                                            ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1977:58: error: request for member ‘st_atim’ in something not a structure or union
 1977 |  add_assoc_long_ex(result, "atime", sizeof("atime"), stat->st_atime);
      |                                                          ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1978:58: error: request for member ‘st_mtim’ in something not a structure or union
 1978 |  add_assoc_long_ex(result, "mtime", sizeof("mtime"), stat->st_mtime);
      |                                                          ^~
/var/www/html/php-libuv/php-uv/php_uv.c:1979:58: error: request for member ‘st_ctim’ in something not a structure or union
 1979 |  add_assoc_long_ex(result, "ctime", sizeof("ctime"), stat->st_ctime);
      |                                                          ^~
/var/www/html/php-libuv/php-uv/php_uv.c: At top level:
/var/www/html/php-libuv/php-uv/php_uv.c:1984:71: error: unknown type name ‘uv_statbuf_t’
 1984 | static void php_uv_fs_poll_cb(uv_fs_poll_t* handle, int status, const uv_statbuf_t* prev, const uv_statbuf_t* curr)
      |                                                                       ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:1984:97: error: unknown type name ‘uv_statbuf_t’
 1984 | static void php_uv_fs_poll_cb(uv_fs_poll_t* handle, int status, const uv_statbuf_t* prev, const uv_statbuf_t* curr)
      |                                                                                                 ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_fs_poll_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2009:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2009 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2010:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2010 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2011:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2011 |  zval_ptr_dtor(&p);
      |                ^~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2012:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2012 |  zval_ptr_dtor(&c);
      |                ^~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2015:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2015 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_poll_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2049:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2049 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2050:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2050 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2051:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2051 |  zval_ptr_dtor(&ev);
      |                ^~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2052:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2052 |  zval_ptr_dtor(&fd);
      |                ^~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2055:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2055 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_udp_recv_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2070:39: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
 2070 |  ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |                                       ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:577: note: macro "ZVAL_STRINGL" defined here
  577 | #define ZVAL_STRINGL(z, s, l) do {    \
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:2070:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
 2070 |  ZVAL_STRINGL(buffer,buf.base,nread, 1);
      |  ^~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2085:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2085 |  zval_ptr_dtor(&buffer);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2086:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2086 |  zval_ptr_dtor(&rsc);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2087:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2087 |  zval_ptr_dtor(&read);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2089:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2089 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_close_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2117:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2117 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2123:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2123 |  zval_ptr_dtor(&h); /* call destruct_uv */
      |                ^~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_idle_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2149:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2149 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2151:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2151 |  zval_ptr_dtor(&idle);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2152:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2152 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_getaddrinfo_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2180:4: error: too many arguments to function ‘add_next_index_string’
 2180 |    add_next_index_string(tmp, c, 1);
      |    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:432:14: note: declared here
  432 | ZEND_API int add_next_index_string(zval *arg, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2193:4: error: too many arguments to function ‘add_next_index_string’
 2193 |    add_next_index_string(tmp, c, 1);
      |    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:432:14: note: declared here
  432 | ZEND_API int add_next_index_string(zval *arg, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2204:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2204 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2206:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2206 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2207:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2207 |  zval_ptr_dtor(&tmp);
      |                ^~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2209:21: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 2209 |  zend_list_delete(uv->resource_id);
      |                   ~~^~~~~~~~~~~~~
      |                     |
      |                     int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_timer_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2232:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2232 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2234:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2234 |  zval_ptr_dtor(&stat);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2235:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2235 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_signal_cb’:
/var/www/html/php-libuv/php-uv/php_uv.c:2257:17: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2257 |   zval_ptr_dtor(&retval_ptr);
      |                 ^~~~~~~~~~~
      |                 |
      |                 zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2259:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2259 |  zval_ptr_dtor(&zsig);
      |                ^~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2260:16: warning: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
 2260 |  zval_ptr_dtor(&client);
      |                ^~~~~~~
      |                |
      |                zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/20190902/Zend/zend.h:36,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: At top level:
/var/www/html/php-libuv/php-uv/php_uv.c:2322:31: error: unknown type name ‘zend_rsrc_list_entry’; did you mean ‘zend_rsrc_list_dtors_entry’?
 2322 | void static destruct_uv_stdio(zend_rsrc_list_entry *rsrc TSRMLS_DC)
      |                               ^~~~~~~~~~~~~~~~~~~~
      |                               zend_rsrc_list_dtors_entry
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_ip_common’:
/var/www/html/php-libuv/php-uv/php_uv.c:2349:28: error: expected expression before ‘php_uv_sockaddr_t’
 2349 |  ZEND_FETCH_RESOURCE(addr, php_uv_sockaddr_t *, &address, -1, PHP_UV_SOCKADDR_RESOURCE_NAME, uv_sockaddr_handle);
      |                            ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2356:21: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
 2356 |   RETVAL_STRING(ip,1);
      |                     ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:628: note: macro "RETVAL_STRING" defined here
  628 | #define RETVAL_STRING(s)     ZVAL_STRING(return_value, s)
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:2356:3: error: ‘RETVAL_STRING’ undeclared (first use in this function)
 2356 |   RETVAL_STRING(ip,1);
      |   ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2362:21: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
 2362 |   RETVAL_STRING(ip,1);
      |                     ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:628: note: macro "RETVAL_STRING" defined here
  628 | #define RETVAL_STRING(s)     ZVAL_STRING(return_value, s)
      | 
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_socket_bind’:
/var/www/html/php-libuv/php-uv/php_uv.c:2386:26: error: expected expression before ‘php_uv_t’
 2386 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &resource, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2387:28: error: expected expression before ‘php_uv_sockaddr_t’
 2387 |  ZEND_FETCH_RESOURCE(addr, php_uv_sockaddr_t *, &address, -1, PHP_UV_SOCKADDR_RESOURCE_NAME, uv_sockaddr_handle);
      |                            ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:156:54: error: incompatible type for argument 2 of ‘uv_tcp_bind’
  156 | #define PHP_UV_SOCKADDR_IPV4(sockaddr) sockaddr->addr.ipv4
      |                                                      ^
      |                                                      |
      |                                                      struct sockaddr_in
/var/www/html/php-libuv/php-uv/php_uv.c:2407:44: note: in expansion of macro ‘PHP_UV_SOCKADDR_IPV4’
 2407 |    r = uv_tcp_bind((uv_tcp_t*)&uv->uv.tcp, PHP_UV_SOCKADDR_IPV4(addr));
      |                                            ^~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:565:50: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in’
  565 |                           const struct sockaddr* addr,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2407:8: error: too few arguments to function ‘uv_tcp_bind’
 2407 |    r = uv_tcp_bind((uv_tcp_t*)&uv->uv.tcp, PHP_UV_SOCKADDR_IPV4(addr));
      |        ^~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:564:15: note: declared here
  564 | UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle,
      |               ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2410:8: warning: implicit declaration of function ‘uv_tcp_bind6’; did you mean ‘uv_tcp_bind’? [-Wimplicit-function-declaration]
 2410 |    r = uv_tcp_bind6((uv_tcp_t*)&uv->uv.tcp, PHP_UV_SOCKADDR_IPV6(addr));
      |        ^~~~~~~~~~~~
      |        uv_tcp_bind
/var/www/html/php-libuv/php-uv/php_uv.c:156:54: error: incompatible type for argument 2 of ‘uv_udp_bind’
  156 | #define PHP_UV_SOCKADDR_IPV4(sockaddr) sockaddr->addr.ipv4
      |                                                      ^
      |                                                      |
      |                                                      struct sockaddr_in
/var/www/html/php-libuv/php-uv/php_uv.c:2413:44: note: in expansion of macro ‘PHP_UV_SOCKADDR_IPV4’
 2413 |    r = uv_udp_bind((uv_udp_t*)&uv->uv.udp, PHP_UV_SOCKADDR_IPV4(addr), flags);
      |                                            ^~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:646:50: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in’
  646 |                           const struct sockaddr* addr,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2416:8: warning: implicit declaration of function ‘uv_udp_bind6’; did you mean ‘uv_udp_bind’? [-Wimplicit-function-declaration]
 2416 |    r = uv_udp_bind6((uv_udp_t*)&uv->uv.udp, PHP_UV_SOCKADDR_IPV6(addr), flags);
      |        ^~~~~~~~~~~~
      |        uv_udp_bind
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_socket_getname’:
/var/www/html/php-libuv/php-uv/php_uv.c:2444:26: error: expected expression before ‘php_uv_t’
 2444 |  ZEND_FETCH_RESOURCE(uv, php_uv_t*, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_udp_send’:
/var/www/html/php-libuv/php-uv/php_uv.c:2495:30: error: expected expression before ‘php_uv_t’
 2495 |  ZEND_FETCH_RESOURCE(client, php_uv_t *, &z_cli, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                              ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2496:28: error: expected expression before ‘php_uv_sockaddr_t’
 2496 |  ZEND_FETCH_RESOURCE(addr, php_uv_sockaddr_t *, &z_addr, -1, PHP_UV_SOCKADDR_RESOURCE_NAME, uv_sockaddr_handle);
      |                            ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:156:54: error: incompatible type for argument 5 of ‘uv_udp_send’
  156 | #define PHP_UV_SOCKADDR_IPV4(sockaddr) sockaddr->addr.ipv4
      |                                                      ^
      |                                                      |
      |                                                      struct sockaddr_in
/var/www/html/php-libuv/php-uv/php_uv.c:2506:53: note: in expansion of macro ‘PHP_UV_SOCKADDR_IPV4’
 2506 |   uv_udp_send(&w->req, &client->uv.udp, &w->buf, 1, PHP_UV_SOCKADDR_IPV4(addr), php_uv_udp_send_cb);
      |                                                     ^~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:675:50: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in’
  675 |                           const struct sockaddr* addr,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2508:3: warning: implicit declaration of function ‘uv_udp_send6’; did you mean ‘uv_udp_send’? [-Wimplicit-function-declaration]
 2508 |   uv_udp_send6(&w->req, &client->uv.udp, &w->buf, 1, PHP_UV_SOCKADDR_IPV6(addr), php_uv_udp_send_cb);
      |   ^~~~~~~~~~~~
      |   uv_udp_send
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘php_uv_tcp_connect’:
/var/www/html/php-libuv/php-uv/php_uv.c:2527:26: error: expected expression before ‘php_uv_t’
 2527 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &resource, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2528:28: error: expected expression before ‘php_uv_sockaddr_t’
 2528 |  ZEND_FETCH_RESOURCE(addr, php_uv_sockaddr_t *, &address, -1, PHP_UV_SOCKADDR_RESOURCE_NAME, uv_sockaddr_handle);
      |                            ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:156:54: error: incompatible type for argument 3 of ‘uv_tcp_connect’
  156 | #define PHP_UV_SOCKADDR_IPV4(sockaddr) sockaddr->addr.ipv4
      |                                                      ^
      |                                                      |
      |                                                      struct sockaddr_in
/var/www/html/php-libuv/php-uv/php_uv.c:2545:36: note: in expansion of macro ‘PHP_UV_SOCKADDR_IPV4’
 2545 |   uv_tcp_connect(req, &uv->uv.tcp, PHP_UV_SOCKADDR_IPV4(addr), php_uv_tcp_connect_cb);
      |                                    ^~~~~~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:576:53: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in’
  576 |                              const struct sockaddr* addr,
      |                              ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2552:3: warning: implicit declaration of function ‘uv_tcp_connect6’; did you mean ‘uv_tcp_connect’? [-Wimplicit-function-declaration]
 2552 |   uv_tcp_connect6(req, &uv->uv.tcp, PHP_UV_SOCKADDR_IPV6(addr), php_uv_tcp_connect_cb);
      |   ^~~~~~~~~~~~~~~
      |   uv_tcp_connect
/var/www/html/php-libuv/php-uv/php_uv.c:2559:21: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 2559 |  zend_list_delete(uv->resource_id);
      |                   ~~^~~~~~~~~~~~~
      |                     |
      |                     int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zm_startup_uv’:
/var/www/html/php-libuv/php-uv/php_uv.c:2571:59: error: ‘destruct_uv’ undeclared (first use in this function)
 2571 |  uv_resource_handle   = zend_register_list_destructors_ex(destruct_uv, NULL, PHP_UV_RESOURCE_NAME, module_number);
      |                                                           ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2572:59: error: ‘destruct_uv_loop’ undeclared (first use in this function)
 2572 |  uv_loop_handle       = zend_register_list_destructors_ex(destruct_uv_loop, NULL, PHP_UV_LOOP_RESOURCE_NAME, module_number);
      |                                                           ^~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2573:59: error: ‘destruct_uv_sockaddr’ undeclared (first use in this function)
 2573 |  uv_sockaddr_handle   = zend_register_list_destructors_ex(destruct_uv_sockaddr, NULL, PHP_UV_SOCKADDR_RESOURCE_NAME, module_number);
      |                                                           ^~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2574:59: error: ‘destruct_uv_lock’ undeclared (first use in this function)
 2574 |  uv_lock_handle       = zend_register_list_destructors_ex(destruct_uv_lock, NULL, PHP_UV_LOCK_RESOURCE_NAME, module_number);
      |                                                           ^~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:2575:59: error: ‘destruct_uv_stdio’ undeclared (first use in this function)
 2575 |  uv_stdio_handle      = zend_register_list_destructors_ex(destruct_uv_stdio, NULL, PHP_UV_STDIO_RESOURCE_NAME, module_number);
      |                                                           ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_unref’:
/var/www/html/php-libuv/php-uv/php_uv.c:3279:6: warning: implicit declaration of function ‘ZEND_FETCH_RESOURCE_NO_RETURN’ [-Wimplicit-function-declaration]
 3279 |  if (ZEND_FETCH_RESOURCE_NO_RETURN(loop, uv_loop_t*, &handle, -1, NULL, uv_loop_handle)) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3279:42: error: expected expression before ‘uv_loop_t’
 3279 |  if (ZEND_FETCH_RESOURCE_NO_RETURN(loop, uv_loop_t*, &handle, -1, NULL, uv_loop_handle)) {
      |                                          ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3281:20: warning: implicit declaration of function ‘Z_RESVAL_P’; did you mean ‘Z_REFVAL_P’? [-Wimplicit-function-declaration]
 3281 |   zend_list_delete(Z_RESVAL_P(handle));
      |                    ^~~~~~~~~~
      |                    Z_REFVAL_P
/var/www/html/php-libuv/php-uv/php_uv.c:3281:20: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 3281 |   zend_list_delete(Z_RESVAL_P(handle));
      |                    ^~~~~~~~~~~~~~~~~~
      |                    |
      |                    int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:3282:47: error: expected expression before ‘php_uv_t’
 3282 |  } else if (ZEND_FETCH_RESOURCE_NO_RETURN(uv, php_uv_t*, &handle, -1, NULL, uv_resource_handle)) {
      |                                               ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3284:22: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 3284 |   zend_list_delete(uv->resource_id);
      |                    ~~^~~~~~~~~~~~~
      |                      |
      |                      int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_last_error’:
/var/www/html/php-libuv/php-uv/php_uv.c:3296:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 3296 |  uv_err_t err;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3303:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3303 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3304:8: warning: implicit declaration of function ‘uv_last_error’; did you mean ‘uv_strerror’? [-Wimplicit-function-declaration]
 3304 |  err = uv_last_error(loop);
      |        ^~~~~~~~~~~~~
      |        uv_strerror
In file included from /usr/include/php/20190902/Zend/zend.h:27,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/var/www/html/php-libuv/php-uv/php_uv.c:3306:17: error: request for member ‘code’ in something not a structure or union
 3306 |  RETVAL_LONG(err.code);
      |                 ^
/usr/include/php/20190902/Zend/zend_types.h:780:19: note: in definition of macro ‘ZVAL_LONG’
  780 |   Z_LVAL_P(__z) = l;    \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:3306:2: note: in expansion of macro ‘RETVAL_LONG’
 3306 |  RETVAL_LONG(err.code);
      |  ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_err_name’:
/var/www/html/php-libuv/php-uv/php_uv.c:3316:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 3316 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:3323:19: error: ‘UV_MAX_ERRORS’ undeclared (first use in this function); did you mean ‘UV__EROFS’?
 3323 |  if (error_code > UV_MAX_ERRORS || error_code < -1) {
      |                   ^~~~~~~~~~~~~
      |                   UV__EROFS
/var/www/html/php-libuv/php-uv/php_uv.c:3328:7: error: request for member ‘code’ in something not a structure or union
 3328 |  error.code = error_code;
      |       ^
/var/www/html/php-libuv/php-uv/php_uv.c:3331:28: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
 3331 |  RETVAL_STRING(error_msg, 1);
      |                            ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:628: note: macro "RETVAL_STRING" defined here
  628 | #define RETVAL_STRING(s)     ZVAL_STRING(return_value, s)
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:3331:2: error: ‘RETVAL_STRING’ undeclared (first use in this function)
 3331 |  RETVAL_STRING(error_msg, 1);
      |  ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_strerror’:
/var/www/html/php-libuv/php-uv/php_uv.c:3349:28: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
 3349 |  RETVAL_STRING(error_msg, 1);
      |                            ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:628: note: macro "RETVAL_STRING" defined here
  628 | #define RETVAL_STRING(s)     ZVAL_STRING(return_value, s)
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:3349:2: error: ‘RETVAL_STRING’ undeclared (first use in this function)
 3349 |  RETVAL_STRING(error_msg, 1);
      |  ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_update_time’:
/var/www/html/php-libuv/php-uv/php_uv.c:3364:28: error: expected expression before ‘uv_loop_t’
 3364 |  ZEND_FETCH_RESOURCE(loop, uv_loop_t *, &z_loop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);
      |                            ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_ref’:
/var/www/html/php-libuv/php-uv/php_uv.c:3381:42: error: expected expression before ‘uv_loop_t’
 3381 |  if (ZEND_FETCH_RESOURCE_NO_RETURN(loop, uv_loop_t*, &handle, -1, NULL, uv_loop_handle)) {
      |                                          ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3383:20: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast [-Wint-conversion]
 3383 |   zend_list_delete(Z_RESVAL_P(handle));
      |                    ^~~~~~~~~~~~~~~~~~
      |                    |
      |                    int
In file included from /usr/include/php/20190902/Zend/zend_API.h:26,
                 from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_list.h:57:60: note: expected ‘zend_resource *’ {aka ‘struct _zend_resource *’} but argument is of type ‘int’
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                                             ~~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:3384:47: error: expected expression before ‘php_uv_t’
 3384 |  } else if (ZEND_FETCH_RESOURCE_NO_RETURN(uv, php_uv_t*, &handle, -1, NULL, uv_resource_handle)) {
      |                                               ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_run’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3405:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3405 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3421:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3421 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_signal_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3439:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3439 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:81:18: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   81 |  uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                  ^
/var/www/html/php-libuv/php-uv/php_uv.c:3440:2: note: in expansion of macro ‘PHP_UV_INIT_SIGNAL’
 3440 |  PHP_UV_INIT_SIGNAL(uv, IS_UV_SIGNAL)
      |  ^~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_signal_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:3464:26: error: expected expression before ‘php_uv_t’
 3464 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &sig_handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_signal_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:3493:26: error: expected expression before ‘php_uv_t’
 3493 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &sig_handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_run_once’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3521:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3521 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_loop_delete’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3538:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3538 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_now’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3559:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 3559 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_write’:
/var/www/html/php-libuv/php-uv/php_uv.c:3601:26: error: expected expression before ‘php_uv_t’
 3601 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &z_cli, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_write2’:
/var/www/html/php-libuv/php-uv/php_uv.c:3641:26: error: expected expression before ‘php_uv_t’
 3641 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &z_cli, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3648:28: error: expected expression before ‘php_uv_t’
 3648 |  ZEND_FETCH_RESOURCE(send, php_uv_t *, &z_send, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                            ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_tcp_nodelay’:
/var/www/html/php-libuv/php-uv/php_uv.c:3676:30: error: expected expression before ‘php_uv_t’
 3676 |  ZEND_FETCH_RESOURCE(client, php_uv_t *, &z_cli, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                              ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_accept’:
/var/www/html/php-libuv/php-uv/php_uv.c:3697:30: error: expected expression before ‘php_uv_t’
 3697 |  ZEND_FETCH_RESOURCE(server, php_uv_t *, &z_svr, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                              ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3698:30: error: expected expression before ‘php_uv_t’
 3698 |  ZEND_FETCH_RESOURCE(client, php_uv_t *, &z_cli, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                              ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_shutdown’:
/var/www/html/php-libuv/php-uv/php_uv.c:3733:26: error: expected expression before ‘php_uv_t’
 3733 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_close’:
/var/www/html/php-libuv/php-uv/php_uv.c:3772:26: error: expected expression before ‘php_uv_t’
 3772 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_read_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:3821:26: error: expected expression before ‘php_uv_t’
 3821 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3843:65: warning: passing argument 2 of ‘uv_read_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 3843 |  r = uv_read_start((uv_stream_t*)php_uv_get_current_stream(uv), php_uv_read_alloc, php_uv_read_cb);
      |                                                                 ^~~~~~~~~~~~~~~~~
      |                                                                 |
      |                                                                 uv_buf_t (*)(uv_handle_t *, size_t) {aka struct uv_buf_t (*)(struct uv_handle_s *, long unsigned int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:502:41: note: expected ‘uv_alloc_cb’ {aka ‘void (*)(struct uv_handle_s *, long unsigned int,  struct uv_buf_t *)’} but argument is of type ‘uv_buf_t (*)(uv_handle_t *, size_t)’ {aka ‘struct uv_buf_t (*)(struct uv_handle_s *, long unsigned int)’}
  502 |                             uv_alloc_cb alloc_cb,
      |                             ~~~~~~~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3843:84: warning: passing argument 3 of ‘uv_read_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 3843 |  r = uv_read_start((uv_stream_t*)php_uv_get_current_stream(uv), php_uv_read_alloc, php_uv_read_cb);
      |                                                                                    ^~~~~~~~~~~~~~
      |                                                                                    |
      |                                                                                    void (*)(uv_stream_t *, ssize_t,  uv_buf_t) {aka void (*)(struct uv_stream_s *, long int,  struct uv_buf_t)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:503:40: note: expected ‘uv_read_cb’ {aka ‘void (*)(struct uv_stream_s *, long int,  const struct uv_buf_t *)’} but argument is of type ‘void (*)(uv_stream_t *, ssize_t,  uv_buf_t)’ {aka ‘void (*)(struct uv_stream_s *, long int,  struct uv_buf_t)’}
  503 |                             uv_read_cb read_cb);
      |                             ~~~~~~~~~~~^~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_read2_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:3869:26: error: expected expression before ‘php_uv_t’
 3869 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:3889:6: warning: implicit declaration of function ‘uv_read2_start’; did you mean ‘uv_read_start’? [-Wimplicit-function-declaration]
 3889 |  r = uv_read2_start((uv_stream_t*)php_uv_get_current_stream(uv), php_uv_read_alloc, php_uv_read2_cb);
      |      ^~~~~~~~~~~~~~
      |      uv_read_start
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_read_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:3909:26: error: expected expression before ‘php_uv_t’
 3909 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &server, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_ip4_addr’:
/var/www/html/php-libuv/php-uv/php_uv.c:3936:35: error: too few arguments to function ‘uv_ip4_addr’
 3936 |  PHP_UV_SOCKADDR_IPV4(sockaddr) = uv_ip4_addr(address, port);
      |                                   ^~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1594:15: note: declared here
 1594 | UV_EXTERN int uv_ip4_addr(const char* ip, int port, struct sockaddr_in* addr);
      |               ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_ip6_addr’:
/var/www/html/php-libuv/php-uv/php_uv.c:3958:35: error: too few arguments to function ‘uv_ip6_addr’
 3958 |  PHP_UV_SOCKADDR_IPV6(sockaddr) = uv_ip6_addr(address, port);
      |                                   ^~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1595:15: note: declared here
 1595 | UV_EXTERN int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr);
      |               ^~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_listen’:
/var/www/html/php-libuv/php-uv/php_uv.c:3983:26: error: expected expression before ‘php_uv_t’
 3983 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &resource, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4036:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4036 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:66:18: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   66 |  uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                  ^
/var/www/html/php-libuv/php-uv/php_uv.c:4037:2: note: in expansion of macro ‘PHP_UV_INIT_TIMER’
 4037 |  PHP_UV_INIT_TIMER(uv, IS_UV_TIMER)
      |  ^~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:4061:26: error: expected expression before ‘php_uv_t’
 4061 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &timer, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4083:45: warning: passing argument 2 of ‘uv_timer_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 4083 |  uv_timer_start((uv_timer_t*)&uv->uv.timer, php_uv_timer_cb, timeout, repeat);
      |                                             ^~~~~~~~~~~~~~~
      |                                             |
      |                                             void (*)(uv_timer_t *, int) {aka void (*)(struct uv_timer_s *, int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:847:42: note: expected ‘uv_timer_cb’ {aka ‘void (*)(struct uv_timer_s *)’} but argument is of type ‘void (*)(uv_timer_t *, int)’ {aka ‘void (*)(struct uv_timer_s *, int)’}
  847 |                              uv_timer_cb cb,
      |                              ~~~~~~~~~~~~^~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:4100:26: error: expected expression before ‘php_uv_t’
 4100 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &timer, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_again’:
/var/www/html/php-libuv/php-uv/php_uv.c:4128:26: error: expected expression before ‘php_uv_t’
 4128 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &timer, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_set_repeat’:
/var/www/html/php-libuv/php-uv/php_uv.c:4154:26: error: expected expression before ‘php_uv_t’
 4154 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &timer, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_timer_get_repeat’:
/var/www/html/php-libuv/php-uv/php_uv.c:4175:26: error: expected expression before ‘php_uv_t’
 4175 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &timer, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_idle_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4198:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4198 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_idle_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:4219:26: error: expected expression before ‘php_uv_t’
 4219 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &idle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_idle_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:4251:26: error: expected expression before ‘php_uv_t’
 4251 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &idle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_getaddrinfo’:
/var/www/html/php-libuv/php-uv/php_uv.c:4285:28: error: expected expression before ‘uv_loop_t’
 4285 |  ZEND_FETCH_RESOURCE(loop, uv_loop_t *, &z_loop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);
      |                            ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4292:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 4292 |   if (zend_hash_find(h, "ai_family", sizeof("ai_family"), (void **)&data) == SUCCESS) {
      |                         ^~~~~~~~~~~
      |                         |
      |                         char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4292:7: error: too many arguments to function ‘zend_hash_find’
 4292 |   if (zend_hash_find(h, "ai_family", sizeof("ai_family"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4293:21: warning: implicit declaration of function ‘Z_LVAL_PP’; did you mean ‘Z_LVAL_P’? [-Wimplicit-function-declaration]
 4293 |    hint.ai_family = Z_LVAL_PP(data);
      |                     ^~~~~~~~~
      |                     Z_LVAL_P
/var/www/html/php-libuv/php-uv/php_uv.c:4295:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 4295 |   if (zend_hash_find(h, "ai_socktype", sizeof("ai_socktype"), (void **)&data) == SUCCESS) {
      |                         ^~~~~~~~~~~~~
      |                         |
      |                         char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4295:7: error: too many arguments to function ‘zend_hash_find’
 4295 |   if (zend_hash_find(h, "ai_socktype", sizeof("ai_socktype"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4298:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 4298 |   if (zend_hash_find(h, "ai_protocol", sizeof("ai_socktype"), (void **)&data) == SUCCESS) {
      |                         ^~~~~~~~~~~~~
      |                         |
      |                         char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4298:7: error: too many arguments to function ‘zend_hash_find’
 4298 |   if (zend_hash_find(h, "ai_protocol", sizeof("ai_socktype"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4301:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 4301 |   if (zend_hash_find(h, "ai_flags", sizeof("ai_flags"), (void **)&data) == SUCCESS) {
      |                         ^~~~~~~~~~
      |                         |
      |                         char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4301:7: error: too many arguments to function ‘zend_hash_find’
 4301 |   if (zend_hash_find(h, "ai_flags", sizeof("ai_flags"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4310:18: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
 4310 |  uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle);
      |                  ^
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_tcp_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4331:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4331 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4369:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4369 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_recv_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:4406:26: error: expected expression before ‘php_uv_t’
 4406 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4419:48: warning: passing argument 2 of ‘uv_udp_recv_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 4419 |  r = uv_udp_recv_start((uv_udp_t*)&uv->uv.udp, php_uv_read_alloc, php_uv_udp_recv_cb);
      |                                                ^~~~~~~~~~~~~~~~~
      |                                                |
      |                                                uv_buf_t (*)(uv_handle_t *, size_t) {aka struct uv_buf_t (*)(struct uv_handle_s *, long unsigned int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:682:45: note: expected ‘uv_alloc_cb’ {aka ‘void (*)(struct uv_handle_s *, long unsigned int,  struct uv_buf_t *)’} but argument is of type ‘uv_buf_t (*)(uv_handle_t *, size_t)’ {aka ‘struct uv_buf_t (*)(struct uv_handle_s *, long unsigned int)’}
  682 |                                 uv_alloc_cb alloc_cb,
      |                                 ~~~~~~~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4419:67: warning: passing argument 3 of ‘uv_udp_recv_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 4419 |  r = uv_udp_recv_start((uv_udp_t*)&uv->uv.udp, php_uv_read_alloc, php_uv_udp_recv_cb);
      |                                                                   ^~~~~~~~~~~~~~~~~~
      |                                                                   |
      |                                                                   void (*)(uv_udp_t *, ssize_t,  uv_buf_t,  struct sockaddr *, unsigned int) {aka void (*)(struct uv_udp_s *, long int,  struct uv_buf_t,  struct sockaddr *, unsigned int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:683:48: note: expected ‘uv_udp_recv_cb’ {aka ‘void (*)(struct uv_udp_s *, long int,  const struct uv_buf_t *, const struct sockaddr *, unsigned int)’} but argument is of type ‘void (*)(uv_udp_t *, ssize_t,  uv_buf_t,  struct sockaddr *, unsigned int)’ {aka ‘void (*)(struct uv_udp_s *, long int,  struct uv_buf_t,  struct sockaddr *, unsigned int)’}
  683 |                                 uv_udp_recv_cb recv_cb);
      |                                 ~~~~~~~~~~~~~~~^~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_recv_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:4437:26: error: expected expression before ‘php_uv_t’
 4437 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_set_membership’:
/var/www/html/php-libuv/php-uv/php_uv.c:4464:26: error: expected expression before ‘php_uv_t’
 4464 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4467:85: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 4467 |  error = uv_udp_set_membership((uv_udp_t*)&uv->uv.udp, (const char*)multicast_addr, (const char*)interface_addr, (int)membership);
      |                                                                                     ^
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_set_multicast_loop’:
/var/www/html/php-libuv/php-uv/php_uv.c:4488:26: error: expected expression before ‘php_uv_t’
 4488 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_set_multicast_ttl’:
/var/www/html/php-libuv/php-uv/php_uv.c:4512:26: error: expected expression before ‘php_uv_t’
 4512 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_udp_set_broadcast’:
/var/www/html/php-libuv/php-uv/php_uv.c:4544:26: error: expected expression before ‘php_uv_t’
 4544 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &client, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_is_active’:
/var/www/html/php-libuv/php-uv/php_uv.c:4583:26: error: expected expression before ‘php_uv_t’
 4583 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_is_readable’:
/var/www/html/php-libuv/php-uv/php_uv.c:4603:26: error: expected expression before ‘php_uv_t’
 4603 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_is_writable’:
/var/www/html/php-libuv/php-uv/php_uv.c:4623:26: error: expected expression before ‘php_uv_t’
 4623 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_walk’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4647:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4647 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_handle_type’:
/var/www/html/php-libuv/php-uv/php_uv.c:4689:26: error: expected expression before ‘php_uv_t’
 4689 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_pipe_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4711:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 4711 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_pipe_open’:
/var/www/html/php-libuv/php-uv/php_uv.c:4748:26: error: expected expression before ‘php_uv_t’
 4748 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_pipe_bind’:
/var/www/html/php-libuv/php-uv/php_uv.c:4775:26: error: expected expression before ‘php_uv_t’
 4775 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_pipe_connect’:
/var/www/html/php-libuv/php-uv/php_uv.c:4806:26: error: expected expression before ‘php_uv_t’
 4806 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &resource, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_pipe_pending_instances’:
/var/www/html/php-libuv/php-uv/php_uv.c:4832:26: error: expected expression before ‘php_uv_t’
 4832 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_uptime’:
/var/www/html/php-libuv/php-uv/php_uv.c:4918:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 4918 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_exepath’:
/var/www/html/php-libuv/php-uv/php_uv.c:4963:37: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
 4963 |  RETURN_STRINGL(buffer, buffer_sz, 1);
      |                                     ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:648: note: macro "RETURN_STRINGL" defined here
  648 | #define RETURN_STRINGL(s, l)    { RETVAL_STRINGL(s, l); return; }
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:4963:2: error: ‘RETURN_STRINGL’ undeclared (first use in this function)
 4963 |  RETURN_STRINGL(buffer, buffer_sz, 1);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_cwd’:
/var/www/html/php-libuv/php-uv/php_uv.c:4977:17: warning: passing argument 2 of ‘uv_cwd’ makes pointer from integer without a cast [-Wint-conversion]
 4977 |  uv_cwd(buffer, MAXPATHLEN);
      |                 ^~~~~~~~~~
      |                 |
      |                 int
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1640:44: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int’
 1640 | UV_EXTERN int uv_cwd(char* buffer, size_t* size);
      |                                    ~~~~~~~~^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:4979:25: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
 4979 |  RETURN_STRING(buffer, 1);
      |                         ^
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:647: note: macro "RETURN_STRING" defined here
  647 | #define RETURN_STRING(s)     { RETVAL_STRING(s); return; }
      | 
/var/www/html/php-libuv/php-uv/php_uv.c:4979:2: error: ‘RETURN_STRING’ undeclared (first use in this function)
 4979 |  RETURN_STRING(buffer, 1);
      |  ^~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_cpu_info’:
/var/www/html/php-libuv/php-uv/php_uv.c:4989:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 4989 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:4993:6: error: ‘UV_OK’ undeclared (first use in this function); did you mean ‘UV_WORK’?
 4993 |  if (UV_OK == error.code) {
      |      ^~~~~
      |      UV_WORK
/var/www/html/php-libuv/php-uv/php_uv.c:4993:20: error: request for member ‘code’ in something not a structure or union
 4993 |  if (UV_OK == error.code) {
      |                    ^
/var/www/html/php-libuv/php-uv/php_uv.c:5005:4: error: too many arguments to function ‘add_assoc_string_ex’
 5005 |    add_assoc_string_ex(tmp, "model", sizeof("model"), cpus[i].model, 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_interface_addresses’:
/var/www/html/php-libuv/php-uv/php_uv.c:5031:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 5031 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:5036:6: error: ‘UV_OK’ undeclared (first use in this function); did you mean ‘UV_WORK’?
 5036 |  if (UV_OK == error.code) {
      |      ^~~~~
      |      UV_WORK
/var/www/html/php-libuv/php-uv/php_uv.c:5036:20: error: request for member ‘code’ in something not a structure or union
 5036 |  if (UV_OK == error.code) {
      |                    ^
/var/www/html/php-libuv/php-uv/php_uv.c:5044:4: error: too many arguments to function ‘add_assoc_string_ex’
 5044 |    add_assoc_string_ex(tmp, "name", sizeof("name"), interfaces[i].name , 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5052:4: error: too many arguments to function ‘add_assoc_string_ex’
 5052 |    add_assoc_string_ex(tmp, "address", sizeof("address"), buffer, 1);
      |    ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/main/php.h:38,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_API.h:398:14: note: declared here
  398 | ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str);
      |              ^~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_spawn’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5085:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5085 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5103:62: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5103 |    (key_type = zend_hash_get_current_key_ex(stdio_container, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                              ^~~~
      |                                                              |
      |                                                              char **
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:94: note: expected ‘zend_string **’ {aka ‘struct _zend_string **’} but argument is of type ‘char **’
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                ~~~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5103:68: warning: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5103 |    (key_type = zend_hash_get_current_key_ex(stdio_container, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                                    ^~~~~~~~
      |                                                                    |
      |                                                                    uint * {aka unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:117: note: expected ‘zend_ulong *’ {aka ‘long unsigned int *’} but argument is of type ‘uint *’ {aka ‘unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                         ~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5103:78: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5103 |    (key_type = zend_hash_get_current_key_ex(stdio_container, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                                              ^~~~~~~~~~
      |                                                                              |
      |                                                                              ulong * {aka long unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:142: note: expected ‘HashPosition *’ {aka ‘unsigned int *’} but argument is of type ‘ulong *’ {aka ‘long unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                                                ~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:5103:16: error: too many arguments to function ‘zend_hash_get_current_key_ex’
 5103 |    (key_type = zend_hash_get_current_key_ex(stdio_container, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:30: note: declared here
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5103:103: error: ‘HASH_KEY_NON_EXISTANT’ undeclared (first use in this function); did you mean ‘HASH_KEY_NON_EXISTENT’?
 5103 |    (key_type = zend_hash_get_current_key_ex(stdio_container, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                                                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                                                                                       HASH_KEY_NON_EXISTENT
/var/www/html/php-libuv/php-uv/php_uv.c:5109:4: error: too many arguments to function ‘zend_hash_get_current_data_ex’
 5109 |    zend_hash_get_current_data_ex(stdio_container, (void *) &value, &pos);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:237:30: note: declared here
  237 | ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5110:8: warning: implicit declaration of function ‘Z_TYPE_PP’; did you mean ‘Z_TYPE_P’? [-Wimplicit-function-declaration]
 5110 |    if (Z_TYPE_PP(value) != IS_RESOURCE) {
      |        ^~~~~~~~~
      |        Z_TYPE_P
/var/www/html/php-libuv/php-uv/php_uv.c:5114:35: error: expected expression before ‘php_uv_stdio_t’
 5114 |    ZEND_FETCH_RESOURCE(stdio_tmp, php_uv_stdio_t*, value, -1, PHP_UV_STDIO_RESOURCE_NAME, uv_stdio_handle);
      |                                   ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5123:34: error: expected expression before ‘php_uv_t’
 5123 |     ZEND_FETCH_RESOURCE(uv_pipe, php_uv_t*, &stdio_tmp->stream, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                                  ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5153:48: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5153 |    (key_type = zend_hash_get_current_key_ex(h, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                ^~~~
      |                                                |
      |                                                char **
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:94: note: expected ‘zend_string **’ {aka ‘struct _zend_string **’} but argument is of type ‘char **’
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                ~~~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5153:54: warning: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5153 |    (key_type = zend_hash_get_current_key_ex(h, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                      ^~~~~~~~
      |                                                      |
      |                                                      uint * {aka unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:117: note: expected ‘zend_ulong *’ {aka ‘long unsigned int *’} but argument is of type ‘uint *’ {aka ‘unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                         ~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5153:64: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5153 |    (key_type = zend_hash_get_current_key_ex(h, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                                ^~~~~~~~~~
      |                                                                |
      |                                                                ulong * {aka long unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:142: note: expected ‘HashPosition *’ {aka ‘unsigned int *’} but argument is of type ‘ulong *’ {aka ‘long unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                                                ~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:5153:16: error: too many arguments to function ‘zend_hash_get_current_key_ex’
 5153 |    (key_type = zend_hash_get_current_key_ex(h, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:30: note: declared here
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5158:4: error: too many arguments to function ‘zend_hash_get_current_data_ex’
 5158 |    zend_hash_get_current_data_ex(h, (void *) &value, &pos);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:237:30: note: declared here
  237 | ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5159:22: warning: implicit declaration of function ‘Z_STRVAL_PP’; did you mean ‘Z_STRVAL_P’? [-Wimplicit-function-declaration]
 5159 |    command_args[n] = Z_STRVAL_PP(value);
      |                      ^~~~~~~~~~~
      |                      Z_STRVAL_P
/var/www/html/php-libuv/php-uv/php_uv.c:5159:20: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 5159 |    command_args[n] = Z_STRVAL_PP(value);
      |                    ^
/var/www/html/php-libuv/php-uv/php_uv.c:5179:54: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5179 |    (key_type = zend_hash_get_current_key_ex(tmp_env, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                      ^~~~
      |                                                      |
      |                                                      char **
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:94: note: expected ‘zend_string **’ {aka ‘struct _zend_string **’} but argument is of type ‘char **’
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                ~~~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5179:60: warning: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5179 |    (key_type = zend_hash_get_current_key_ex(tmp_env, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                            ^~~~~~~~
      |                                                            |
      |                                                            uint * {aka unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:117: note: expected ‘zend_ulong *’ {aka ‘long unsigned int *’} but argument is of type ‘uint *’ {aka ‘unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                         ~~~~~~~~~~~~^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5179:70: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
 5179 |    (key_type = zend_hash_get_current_key_ex(tmp_env, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                                                                      ^~~~~~~~~~
      |                                                                      |
      |                                                                      ulong * {aka long unsigned int *}
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:142: note: expected ‘HashPosition *’ {aka ‘unsigned int *’} but argument is of type ‘ulong *’ {aka ‘long unsigned int *’}
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                                                                                                                                ~~~~~~~~~~~~~~^~~
/var/www/html/php-libuv/php-uv/php_uv.c:5179:16: error: too many arguments to function ‘zend_hash_get_current_key_ex’
 5179 |    (key_type = zend_hash_get_current_key_ex(tmp_env, &key, &key_len, &key_index, 0, &pos)) != HASH_KEY_NON_EXISTANT;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:234:30: note: declared here
  234 | ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5184:4: error: too many arguments to function ‘zend_hash_get_current_data_ex’
 5184 |    zend_hash_get_current_data_ex(tmp_env, (void *) &value, &pos);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:237:30: note: declared here
  237 | ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:30,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/var/www/html/php-libuv/php-uv/php_uv.c:5186:51: warning: implicit declaration of function ‘Z_STRLEN_PP’; did you mean ‘Z_STRLEN_P’? [-Wimplicit-function-declaration]
 5186 |    tmp_env_entry = emalloc(sizeof(char)*key_len+1+Z_STRLEN_PP(value));
      |                                                   ^~~~~~~~~~~
/usr/include/php/20190902/Zend/zend_alloc.h:110:24: note: in definition of macro ‘_emalloc’
  110 |  (__builtin_constant_p(size) ? \
      |                        ^~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5186:20: note: in expansion of macro ‘emalloc’
 5186 |    tmp_env_entry = emalloc(sizeof(char)*key_len+1+Z_STRLEN_PP(value));
      |                    ^~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5187:63: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat=]
 5187 |    slprintf(tmp_env_entry, key_len+1+Z_STRLEN_PP(value), "%s=%s", key, Z_STRVAL_PP(value));
      |                                                              ~^        ~~~~~~~~~~~~~~~~~~
      |                                                               |        |
      |                                                               char *   int
      |                                                              %d
/var/www/html/php-libuv/php-uv/php_uv.c:5201:28: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 5201 |   if (zend_hash_find(opts, "uid", sizeof("uid"), (void **)&data) == SUCCESS) {
      |                            ^~~~~
      |                            |
      |                            char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5201:7: error: too many arguments to function ‘zend_hash_find’
 5201 |   if (zend_hash_find(opts, "uid", sizeof("uid"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5205:28: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
 5205 |   if (zend_hash_find(opts, "gid", sizeof("gid"), (void **)&data) == SUCCESS) {
      |                            ^~~~~
      |                            |
      |                            char *
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: expected ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5205:7: error: too many arguments to function ‘zend_hash_find’
 5205 |   if (zend_hash_find(opts, "gid", sizeof("gid"), (void **)&data) == SUCCESS) {
      |       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:33,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /var/www/html/php-libuv/php-uv/php_uv.h:32,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/php/20190902/Zend/zend_hash.h:175:30: note: declared here
  175 | ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
      |                              ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5212:18: warning: assignment to ‘uv_exit_cb’ {aka ‘void (*)(struct uv_process_s *, long int,  int)’} from incompatible pointer type ‘void (*)(uv_process_t *, int,  int)’ {aka ‘void (*)(struct uv_process_s *, int,  int)’} [-Wincompatible-pointer-types]
 5212 |  options.exit_cb = php_uv_process_close_cb;
      |                  ^
/var/www/html/php-libuv/php-uv/php_uv.c:5234:40: error: incompatible type for argument 3 of ‘uv_spawn’
 5234 |  r = uv_spawn(loop, &proc->uv.process, options);
      |                                        ^~~~~~~
      |                                        |
      |                                        uv_process_options_t {aka struct uv_process_options_s}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1036:52: note: expected ‘const uv_process_options_t *’ {aka ‘const struct uv_process_options_s *’} but argument is of type ‘uv_process_options_t’ {aka ‘struct uv_process_options_s’}
 1036 |                        const uv_process_options_t* options);
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_process_kill’:
/var/www/html/php-libuv/php-uv/php_uv.c:5267:26: error: expected expression before ‘php_uv_t’
 5267 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_chdir’:
/var/www/html/php-libuv/php-uv/php_uv.c:5294:2: error: unknown type name ‘uv_err_t’; did you mean ‘uv_req_t’?
 5294 |  uv_err_t error;
      |  ^~~~~~~~
      |  uv_req_t
/var/www/html/php-libuv/php-uv/php_uv.c:5303:11: error: request for member ‘code’ in something not a structure or union
 5303 |  if (error.code == UV_OK) {
      |           ^
/var/www/html/php-libuv/php-uv/php_uv.c:5303:20: error: ‘UV_OK’ undeclared (first use in this function); did you mean ‘UV_WORK’?
 5303 |  if (error.code == UV_OK) {
      |                    ^~~~~
      |                    UV_WORK
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_prepare_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5460:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5460 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_prepare_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:5483:26: error: expected expression before ‘php_uv_t’
 5483 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5496:69: warning: passing argument 2 of ‘uv_prepare_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 5496 |  r = uv_prepare_start((uv_prepare_t*)php_uv_get_current_stream(uv), php_uv_prepare_cb);
      |                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     void (*)(uv_prepare_t *, int) {aka void (*)(struct uv_prepare_s *, int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:800:69: note: expected ‘uv_prepare_cb’ {aka ‘void (*)(struct uv_prepare_s *)’} but argument is of type ‘void (*)(uv_prepare_t *, int)’ {aka ‘void (*)(struct uv_prepare_s *, int)’}
  800 | UV_EXTERN int uv_prepare_start(uv_prepare_t* prepare, uv_prepare_cb cb);
      |                                                       ~~~~~~~~~~~~~~^~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_prepare_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:5523:26: error: expected expression before ‘php_uv_t’
 5523 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_check_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5544:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5544 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_check_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:5567:26: error: expected expression before ‘php_uv_t’
 5567 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5581:65: warning: passing argument 2 of ‘uv_check_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 5581 |  r = uv_check_start((uv_check_t*)php_uv_get_current_stream(uv), php_uv_check_cb);
      |                                                                 ^~~~~~~~~~~~~~~
      |                                                                 |
      |                                                                 void (*)(uv_check_t *, int) {aka void (*)(struct uv_check_s *, int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:810:61: note: expected ‘uv_check_cb’ {aka ‘void (*)(struct uv_check_s *)’} but argument is of type ‘void (*)(uv_check_t *, int)’ {aka ‘void (*)(struct uv_check_s *, int)’}
  810 | UV_EXTERN int uv_check_start(uv_check_t* check, uv_check_cb cb);
      |                                                 ~~~~~~~~~~~~^~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_check_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:5600:26: error: expected expression before ‘php_uv_t’
 5600 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_async_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5632:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5632 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:5633:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 5633 |  PHP_UV_INIT_UV(uv, IS_UV_ASYNC);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5635:41: warning: passing argument 3 of ‘uv_async_init’ from incompatible pointer type [-Wincompatible-pointer-types]
 5635 |  r = uv_async_init(loop, &uv->uv.async, php_uv_async_cb);
      |                                         ^~~~~~~~~~~~~~~
      |                                         |
      |                                         void (*)(uv_async_t *, int) {aka void (*)(struct uv_async_s *, int)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:831:41: note: expected ‘uv_async_cb’ {aka ‘void (*)(struct uv_async_s *)’} but argument is of type ‘void (*)(uv_async_t *, int)’ {aka ‘void (*)(struct uv_async_s *, int)’}
  831 |                             uv_async_cb async_cb);
      |                             ~~~~~~~~~~~~^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_async_send’:
/var/www/html/php-libuv/php-uv/php_uv.c:5661:26: error: expected expression before ‘php_uv_t’
 5661 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_fs_event_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:5935:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 5935 |  PHP_UV_INIT_UV(uv, IS_UV_FS_EVENT);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5936:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5936 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5941:10: error: too many arguments to function ‘uv_fs_event_init’
 5941 |  error = uv_fs_event_init(loop, (uv_fs_event_t*)&uv->uv.fs_event, path, php_uv_fs_event_cb, flags);
      |          ^~~~~~~~~~~~~~~~
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1584:15: note: declared here
 1584 | UV_EXTERN int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle);
      |               ^~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_tty_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:5965:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 5965 |  PHP_UV_INIT_UV(uv, IS_UV_TTY);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:5966:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 5966 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_tty_get_winsize’:
/var/www/html/php-libuv/php-uv/php_uv.c:5995:26: error: expected expression before ‘php_uv_t’
 5995 |  ZEND_FETCH_RESOURCE(uv, php_uv_t*, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_tty_set_mode’:
/var/www/html/php-libuv/php-uv/php_uv.c:6028:26: error: expected expression before ‘php_uv_t’
 6028 |  ZEND_FETCH_RESOURCE(uv, php_uv_t*, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_poll_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:6140:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 6140 |  PHP_UV_INIT_UV(uv, IS_UV_POLL);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:6141:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 6141 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_poll_init_socket’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:6171:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 6171 |  PHP_UV_INIT_UV(uv, IS_UV_POLL);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:6172:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 6172 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_poll_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:6205:26: error: expected expression before ‘php_uv_t’
 6205 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_poll_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:6237:26: error: expected expression before ‘php_uv_t’
 6237 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &poll, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_fs_poll_init’:
/var/www/html/php-libuv/php-uv/php_uv.c:49:19: warning: assignment to ‘int’ from ‘zval *’ {aka ‘struct _zval_struct *’} makes integer from pointer without a cast [-Wint-conversion]
   49 |   uv->resource_id = PHP_UV_LIST_INSERT(uv, uv_resource_handle); \
      |                   ^
/var/www/html/php-libuv/php-uv/php_uv.c:6263:2: note: in expansion of macro ‘PHP_UV_INIT_UV’
 6263 |  PHP_UV_INIT_UV(uv, IS_UV_FS_POLL);
      |  ^~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:99:29: error: expected expression before ‘uv_loop_t’
   99 |   ZEND_FETCH_RESOURCE(loop, uv_loop_t*, &zloop, -1, PHP_UV_LOOP_RESOURCE_NAME, uv_loop_handle);\
      |                             ^~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:6264:2: note: in expansion of macro ‘PHP_UV_FETCH_UV_DEFAULT_LOOP’
 6264 |  PHP_UV_FETCH_UV_DEFAULT_LOOP(loop, zloop);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_fs_poll_start’:
/var/www/html/php-libuv/php-uv/php_uv.c:6294:26: error: expected expression before ‘php_uv_t’
 6294 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &handle, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c:6305:44: warning: passing argument 2 of ‘uv_fs_poll_start’ from incompatible pointer type [-Wincompatible-pointer-types]
 6305 |  error = uv_fs_poll_start(&uv->uv.fs_poll, php_uv_fs_poll_cb, (const char*)path, interval);
      |                                            ^~~~~~~~~~~~~~~~~
      |                                            |
      |                                            void (*)(uv_fs_poll_t *, int,  const int *, const int *) {aka void (*)(struct uv_fs_poll_s *, int,  const int *, const int *)}
In file included from /var/www/html/php-libuv/php-uv/php_uv.h:33,
                 from /var/www/html/php-libuv/php-uv/php_uv.c:20:
/usr/include/uv.h:1525:46: note: expected ‘uv_fs_poll_cb’ {aka ‘void (*)(struct uv_fs_poll_s *, int,  const struct <anonymous> *, const struct <anonymous> *)’} but argument is of type ‘void (*)(uv_fs_poll_t *, int,  const int *, const int *)’ {aka ‘void (*)(struct uv_fs_poll_s *, int,  const int *, const int *)’}
 1525 |                                uv_fs_poll_cb poll_cb,
      |                                ~~~~~~~~~~~~~~^~~~~~~
/var/www/html/php-libuv/php-uv/php_uv.c: In function ‘zif_uv_fs_poll_stop’:
/var/www/html/php-libuv/php-uv/php_uv.c:6325:26: error: expected expression before ‘php_uv_t’
 6325 |  ZEND_FETCH_RESOURCE(uv, php_uv_t *, &poll, -1, PHP_UV_RESOURCE_NAME, uv_resource_handle);
      |                          ^~~~~~~~
make: *** [Makefile:193: php_uv.lo] Error 1
@enumag
Copy link

enumag commented Feb 12, 2021

php -v ?

@ljfreelancer88
Copy link
Author

PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

TheTechsTech added a commit to symplely/ext-uv that referenced this issue Mar 30, 2023
**In reference to:** amphp#106, amphp#107, amphp#94, amphp#98, amphp#93, amphp#92, amphp#86, amphp#84, amphp#82, amphp#64

- BC signature changes has been revert since some of the tests wasn't changed to match, and too far off original design.
- Using current **Libuv** version or systems installed one, not `pecl`, this setup is not reliant on the really slow `pecl` system for updated installations.

The whole `uv_queue_work()` will need to be re implemented, the core internal `TSRM.c` thread related `tsrm_***_interpreter_context` functions used in PHP 7.4 has been removed since PHP 8.0.
@trowski trowski closed this as completed Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants