php-lua icon indicating copy to clipboard operation
php-lua copied to clipboard

Error in MAC system, MAC vesion:OS X El Capitan 10.11.6 ,Lua vesion:lua 5.3.2

Open w297088867 opened this issue 8 years ago • 0 comments

                                                           ^

/Users/huangjianfeng/Downloads/lua-2.0.2/lua-2.0.2/lua.c:820:24: warning: incompatible pointer types assigning to 'zend_object_value (_)(zend_class_entry *)' (aka 'struct zend_object_value ()(struct _zend_class_entry _)') 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

w297088867 avatar Sep 10 '16 01:09 w297088867