Open w297088867 opened 8 years ago
^
/Users/huangjianfeng/Downloads/lua-2.0.2/lua-2.0.2/lua.c:820:24: warning: incompatible pointer types assigning to 'zend_objectvalue ()(zend_class_entry )' (aka 'struct _zend_objectvalue ()(struct _zend_classentry )') from 'zend_object (zend_class_entry )' (aka 'struct _zend_object (struct _zend_class_entry *)') [-Wincompatible-pointer-types] lua_ce->create_object = php_lua_create_object; ^ ~~~~~ /Users/huangjianfeng/Downloads/lua-2.0.2/lua-2.0.2/lua.c:822:22: error: no member named 'offset' in 'struct _zend_object_handlers' lua_object_handlers.offset = XtOffsetOf(php_lua_object, obj);
fatal error: too many errors emitted, stopping now [-ferror-limit=] 26 warnings and 20 errors generated. make: *_\* [lua.lo] Error 1
/Users/huangjianfeng/Downloads/lua-2.0.2/lua-2.0.2/lua.c:820:24: warning: incompatible pointer types assigning to 'zend_objectvalue ()(zend_class_entry )' (aka 'struct _zend_objectvalue ()(struct _zend_classentry )') from 'zend_object (zend_class_entry )' (aka 'struct _zend_object (struct _zend_class_entry *)') [-Wincompatible-pointer-types] lua_ce->create_object = php_lua_create_object; ^
~~~~~ /Users/huangjianfeng/Downloads/lua-2.0.2/lua-2.0.2/lua.c:822:22: error: no member named 'offset' in 'struct _zend_object_handlers' lua_object_handlers.offset = XtOffsetOf(php_lua_object, obj);