ext-async icon indicating copy to clipboard operation
ext-async copied to clipboard

swoole v4.3,make error: use of undeclared identifier 'sw_zend_class_unset_property_deny'

Open daelephant opened this issue 5 years ago • 6 comments

make error detail:

/Users/project/async-ext/swoole_async.cc:189:55: error: use of undeclared identifier 'sw_zend_class_unset_property_deny'; did you mean
      'php_swoole_class_unset_property_deny'?
    SW_SET_CLASS_UNSET_PROPERTY_HANDLER(swoole_async, sw_zend_class_unset_property_deny);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                      php_swoole_class_unset_property_deny
/Users/project/soft/php/include/php/ext/swoole/php_swoole.h:765:40: note: expanded from macro 'SW_SET_CLASS_UNSET_PROPERTY_HANDLER'
    module##_handlers.unset_property = _unset_property
                                       ^
/Users/project/soft/php/include/php/ext/swoole/php_swoole.h:479:6: note: 'php_swoole_class_unset_property_deny' declared here
void php_swoole_class_unset_property_deny(zval *zobject, zval *zmember, void **cache_slot);
     ^
1 error generated.
make: *** [swoole_async.lo] Error 1

daelephant avatar May 27 '19 23:05 daelephant