Skip to content

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

@w297088867

Description

@w297088867
                                                           ^

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions