|
|
|
|||||
|
build php_ice 1.1.1 error. proxy.cpp line 183
proxy.cpp line 183:
_handlers.clone_obj = handleClone; _handlers.clone_obj is define to : (zend_object_handlers.h line 104) typedef struct _zend_object_handlers { ... zend_object_clone_obj_t clone_obj; ... but the handleClone is define to : zend_object_value handleClone(zval* TSRMLS_DC); that is not compatibility with zend_object_clone_obj_t: typedef zend_object_value (*zend_object_clone_obj_t)(zval *object TSRMLS_DC); I got build error in vs.net 2003. Thanks for you see it and help me to fix it. |
|
|||||
|
why not compatibility?
------ 已启动生成: 项目: php_ice, 配置: Release Win32 ------
正在编译... proxy.cpp proxy.cpp(185) : error C2440: “=” : 无法从“zend_object_value (__cdecl *)(zval *,void *** )”转换为“zend_object_clone_obj_t” UDT 返回值的不兼容调用约定 communicator.cpp communicator.cpp(70) : error C2440: “=” : 无法从“zend_object_value (__cdecl *)(zval *,void *** )”转换为“zend_object_clone_obj_t” UDT 返回值的不兼容调用约定 正在生成代码... 生成日志保存在“file://e:\Projects\JetRocket\base\IcePhp\IcePHP-1.1.1\src\ice\Release\BuildLog.htm”中 php_ice - 2 错误,0 警告 ---------------------- 完成 --------------------- 生成: 0 已成功, 1 已失败, 0 已跳过 |
|
|||||
|
I got it ! is call type not match !
modify ice_common.h
#include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #include "zend_interfaces.h" #include "zend_exceptions.h" to follow: extern "C" { #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #include "zend_interfaces.h" #include "zend_exceptions.h" } then build ok! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Build Ice resource code error | lifesong | Help Center | 9 | 06-08-2006 12:00 PM |
| Build error in Redhat Linux 9.0 | wuqiu | Help Center | 10 | 05-16-2006 10:39 PM |
| Build error on Red Hat Linux (kernel:2.4.18) | rc_hz | Help Center | 3 | 11-26-2005 07:58 PM |
| Project : error PRJ0019: A tool returned an error code: "Performing Custom Build Step | Falagard | Help Center | 6 | 04-11-2004 09:12 PM |
| error in doc for parsing of --Command.Line properties (14.8.3) | shaver | Bug Reports | 1 | 11-30-2003 12:02 PM |