php friso,php binding 不兼容php7
下面是 make 的结果
/tmp/friso/binding/php/friso.c: In function 'zif_friso_split':
/tmp/friso/binding/php/friso.c:238:51: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type
zend_hash_get_current_data_ex(cfgArr, (void **)&data, &pointer) == SUCCESS;
^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^
/tmp/friso/binding/php/friso.c:238:13: error: too many arguments to function 'zend_hash_get_current_data_ex'
zend_hash_get_current_data_ex(cfgArr, (void **)&data, &pointer) == SUCCESS;
^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_hash.h:171:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^
/tmp/friso/binding/php/friso.c:241:50: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type
zend_hash_get_current_key_ex(cfgArr, &_key, &klen, NULL, 0, &pointer);
^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: expected 'struct zend_string **' but argument is of type 'char **'
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/friso/binding/php/friso.c:241:57: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type
zend_hash_get_current_key_ex(cfgArr, &_key, &klen, NULL, 0, &pointer);
^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: expected 'zend_ulong *' but argument is of type 'int *'
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/friso/binding/php/friso.c:241:13: error: too many arguments to function 'zend_hash_get_current_key_ex'
zend_hash_get_current_key_ex(cfgArr, &_key, &klen, NULL, 0, &pointer);
^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/friso/binding/php/friso.c:246:59: error: request for member 'val' in something not a structure or union
memcpy(nconfig->kpuncs, (*data)->value.str.val, (*data)->value.str.len);
^
/tmp/friso/binding/php/friso.c:246:83: error: request for member 'len' in something not a structure or union
memcpy(nconfig->kpuncs, (*data)->value.str.val, (*data)->value.str.len);
^
/tmp/friso/binding/php/friso.c:247:51: error: request for member 'len' in something not a structure or union
nconfig->kpuncs[(*data)->value.str.len] = '\0';
^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/usr/include/php/20151012/Zend/zend_types.h:336:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG)
^
/tmp/friso/binding/php/friso.c:252:17: note: in expansion of macro 'convert_to_long_ex'
convert_to_long_ex(data);
^
/usr/include/php/20151012/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
from /usr/include/php/20151012/main/php.h:35,
from /tmp/friso/binding/php/friso.c:6:
/tmp/friso/binding/php/friso.c:252:36: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type
convert_to_long_ex(data);
^
/usr/include/php/20151012/Zend/zend_operators.h:369:27: note: in definition of macro 'convert_to_ex_master'
convert_to_##lower_type(pzv); \
^
/tmp/friso/binding/php/friso.c:252:17: note: in expansion of macro 'convert_to_long_ex'
convert_to_long_ex(data);
^
/usr/include/php/20151012/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **'
ZEND_API void ZEND_FASTCALL convert_to_long(zval *op);
^
/tmp/friso/binding/php/friso.c:296:60: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
add_assoc_string(item, "word", task->token->word, 1);
^
/tmp/friso/binding/php/friso.c:296:9: error: 'add_assoc_string' undeclared (first use in this function)
add_assoc_string(item, "word", task->token->word, 1);
^
/tmp/friso/binding/php/friso.c:296:9: note: each undeclared identifier is reported only once for each function it appears in
/tmp/friso/binding/php/friso.c:307:67: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
add_assoc_stringl(item, "pos", &task->token->pos, 1, 1);
^
/tmp/friso/binding/php/friso.c:307:13: error: 'add_assoc_stringl' undeclared (first use in this function)
add_assoc_stringl(item, "pos", &task->token->pos, 1, 1);
^
/tmp/friso/binding/php/friso.c: In function 'zif_friso_version':
/tmp/friso/binding/php/friso.c:326:59: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
RETURN_STRINGL(FRISO_VERSION, strlen(FRISO_VERSION), 1);
^
/tmp/friso/binding/php/friso.c:326:5: error: 'RETURN_STRINGL' undeclared (first use in this function)
RETURN_STRINGL(FRISO_VERSION, strlen(FRISO_VERSION), 1);
^
/tmp/friso/binding/php/friso.c: In function 'zif_friso_charset':
/tmp/friso/binding/php/friso.c:335:47: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
RETURN_STRINGL(charset, strlen(charset), 1);
^
/tmp/friso/binding/php/friso.c:335:5: error: 'RETURN_STRINGL' undeclared (first use in this function)
RETURN_STRINGL(charset, strlen(charset), 1);
^
/tmp/friso/binding/php/friso.c: In function 'zif_friso_ucode_utf8':
/tmp/friso/binding/php/friso.c:452:37: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
RETURN_STRINGL( word, _bytes, 1 );
^
/tmp/friso/binding/php/friso.c:452:5: error: 'RETURN_STRINGL' undeclared (first use in this function)
RETURN_STRINGL( word, _bytes, 1 );
^
Makefile:193: recipe for target 'friso.lo' failed
make: *** [friso.lo] Error 1
php friso,php binding 不兼容php7相关推荐
- emlog php7,emlog5.3.1兼容PHP7
让Emlog5.3.1兼容PHP7环境一些处理方法分享 直接在php7安装emlog5.3.1各种报错.emlog5.3.1虽然已经出了使用mysqli连接类,但是为了兼容性还是默认是使用了mysql ...
- FLY主题下载插件兼容php7适配emlog6.1.1
介绍: 在此之前分享的适配6.1.1的下载插件,是基于fee主题修改的,因为主题的差异 不一定适配FLY主题 这次的emlog插件可以解决兼容FLY主题同时适配emlog6.1.1 不是独立下载了哈 ...
- wordpress php7 兼容_WordPress升级PHP7后wp-code-highlight插件兼容性解决方法
原创内容,转载请注明出处:https://www.myzhenai.com.cn/post/3479.html 关键词:WordPress内容空白 升级PHP7后Wordpress内容空白 wp-co ...
- Ubuntu 平滑升级到PHP7
2019独角兽企业重金招聘Python工程师标准>>> 基本上算是平滑升级,当然前提是要保证代码可以兼容 php7 #添加源 apt-get install python-softw ...
- PHP7都有哪些新特性
前言 本文是一篇讲座听后+后续研究的总结. 话说当年追时髦,php7一出就给电脑立马装上了,php5和php7共存,也是立马写了个超级耗时间的循环脚本测了一番,确实php7给力很多,然后也是注意了一 ...
- php7.0官网下载,PHP7(PHP7下载)64位下载
PHP7(PHP7下载)64位 7.0.2官方正式版 PHP7终于发布,PHP自2004年以来比较大的飞跃.PHP7比较大特色是极大地改进了性能,在一些WordPress基准测试当中,性能可以达到PH ...
- 新浪微博PHP7升级实践
导读 伴随业务的增长,系统压力也在不断增加,再加上机房机架趋于饱和,无法更加有效应对各种突发事件.在这样的情况下,PC主站升级为PHP 7,有哪些技术细节可以分享? 背景 新浪微博在2016年Q2季度 ...
- PHP扩展 zqf 兼容7.0
php扩展zqf (兼容php7) 全局变量适用于高并发抢购.秒杀,红包生成,数组算法处理等,由于添加了二维码生成功能,安装本扩展之前需要安装libqrencode, 安装方法如下:(兼容php7) ...
- 一篇写给准备升级PHP7的小伙伴的文章
前言 本文是一篇讲座听后+后续研究的总结. 话说当年追时髦,php7一出就给电脑立马装上了,php5和php7共存,也是立马写了个超级耗时间的循环脚本测了一番,确实php7给力很多,然后也是注意了一些 ...
最新文章
- asp.net mvc3 Razor引擎中@使用规则小记
- 巴菲特在佛罗里达大学的演讲
- 集合 判断是否为同一元素 总结
- 用python爬虫的基本步骤-Python爬虫入门:爬虫基础了解
- 文本分类模型_文本分类模型之TextCNN
- 好长时间没有到博客园来看看了
- android eclipse的环境配置
- 小程序的支付Demo和登录Demo
- 完全卸载MySQL的方法
- Sailfish OS构建(1)
- 异速联服务器配置系统管理员,金万维异速联服务器配置单.docx
- libxml2 常用接口
- 微信小程序-detail详情页静态页面搭建
- YAWL工作流软件的介绍和使用
- 5种利用自动化技术提高仓库管理效率的方法
- 判断一个人有没有管理能力,就看这1点!
- python3 selenium 自动化 登录搜狐邮箱之 函数的二次封装和模块的调用及函数的调用
- 晶体管及其放大电路之共基极放大电路
- html怎样图片不会失真,css解决图片失真
- 合并多个工作簿为一个工作簿和拆分工作簿为多个工作簿
热门文章
- 基于JAVA+SpringBoot+Mybatis+MYSQL的旅游管理系统
- 基于JAVA+SpringMVC+Mybatis+MYSQL的值班管理系统
- jumpserver简易安装
- Too many open files 问题的解决
- 哈密顿图 哈密顿回路 哈密顿通路(Hamilton)
- careercup-递归和动态规划 9.2
- 3D Math Primer for Graphics and Game Development -- 图形与游戏开发(3D数学基础) (简介)...
- 【Vegas原创】GridView跨页选择多行数据,并循环添加一行DataSet数据
- Python的turtle库还能绘制这些有趣图形?
- 初学者phthon笔记(异常处理)