./configure检测swoole时报以下错误,不用考虑,只能更换高级版本

博客展示了Swoole相关的编译错误和警告信息,如swoole_coroutine.c文件中函数调用参数过多的错误,以及swoole_client.c文件里格式不匹配的警告等,还给出了相关宏定义和函数声明的位置。
部署运行你感兴趣的模型镜像

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)

您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值