swoole_coroutine.c:261:148: error: too many arguments to function call, expected 4, have 5
swoole-2.2.0/swoole_client.c:849:87: warning: format specifies type ‘char *’ but the argument has type ‘size_t’ (aka ‘unsigned long’) [-Wformat]
swoole_php_fatal_error(E_WARNING, “Unable to register shutdown function [%s]”,ZSTR_LEN(Z_STR(shutdown_function_entry.arguments[0])));
%lu
./php_swoole.h:110:106: note: expanded from macro ‘swoole_php_fatal_error’
#define swoole_php_fatal_error(level, fmt_str, …) php_error_docref(NULL TSRMLS_CC, level, fmt_str, ##VA_ARGS)
swoole-2.2.0/swoole_client.c:1407:90: warning: format specifies type ‘int’ but the argument has type ‘zend_size_t’ (aka ‘unsigned long’) [-Wformat]
swoole_php_sys_error(E_WARNING, “failed to send(%d) %d bytes.”, cli->socket->fd, data_len);
~~ ^~~~~~~~
%lu
./php_swoole.h:111:150: note: expanded from macro ‘swoole_php_sys_error’
#define swoole_php_sys_error(level, fmt_str, …) if (SWOOLE_G(display_errors)) php_error_docref(NULL TSRMLS_CC, level, fmt_str" Error: %s[%d].", ##VA_ARGS, strerror(errno), errno)
%lu
./php_swoole.h:111:150: note: expanded from macro ‘swoole_php_sys_error’
#define swoole_php_sys_error(level, fmt_str, …) if (SWOOLE_G(display_errors)) php_error_docref(NULL TSRMLS_CC, level, fmt_str" Error: %s[%d].", ##VA_ARGS, strerror(errno), errno)
^~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/php/include/php/Zend/zend_execute.h:219:1: note: ‘zend_vm_stack_push_call_frame’ declared here
static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, void *object_or_called_scope)