Preparing for PHP compilation... Preparing configuration file... Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from kernel/exception.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(returnvalueptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPYPZVALTOZVAL’ [-Wimplicit-function-declaration] COPYPZVALTOZVAL(return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zendglobals.h:28:0, from /usr/include/php/20170718/Zend/zendcompile.h:702, from /usr/include/php/20170718/Zend/zendmodules.h:26, from /usr/include/php/20170718/Zend/zendAPI.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephirfetchnpropertythisquick’: /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zenduint’ void zephircast(zval *result, zval *var, zenduint type); ^ In file included from ./phpzeper.h:11:0, from ./phpext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval *object, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zenduint’ void zephirthrowexceptionstring(zendclassentry *ce, const char *message, zenduint messagelen TSRMLSDC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zenduint’ void zephirthrowexceptionzvaldebug(zendclassentry *ce, zval *message, const char *file, zenduint line TSRMLSDC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephirmaybeseparatezval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘ZREFCOUNTPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘ZISREFPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOCZVAL’ [-Wimplicit-function-declaration] ALLOCZVAL(newzv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘ZUNSETISREFP’ [-Wimplicit-function-declaration] ZUNSETISREFP(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INITPZVALCOPY’ INITPZVALCOPY(newzv, *z); ^ In file included from ./phpzeper.h:11:0, from ./phpext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval *object, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zenduint’ void zephirthrowexceptionstring(zendclassentry *ce, const char *message, zenduint messagelen TSRMLSDC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zenduint’ void zephirthrowexceptionzvaldebug(zendclassentry *ce, zval *message, const char *file, zenduint line TSRMLSDC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephirmaybeseparatezval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘ZREFCOUNTPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘ZISREFPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOCZVAL’ [-Wimplicit-function-declaration] ALLOCZVAL(newzv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘ZUNSETISREFP’ [-Wimplicit-function-declaration] ZUNSETISREFP(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INITPZVALCOPY’ INITPZVALCOPY(new_zv, *z); ^ Installing... Internal extension compilation failed. Check compile-errors.log for more information

[email protected]:~/Code/yudaoadmin/tests/zephir/zeper$ zephir build --backend=ZendEngine2 Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(returnvalueptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPYPZVALTOZVAL’ [-Wimplicit-function-declaration] COPYPZVALTOZVAL(return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zendglobals.h:28:0, from /usr/include/php/20170718/Zend/zendcompile.h:702, from /usr/include/php/20170718/Zend/zendmodules.h:26, from /usr/include/php/20170718/Zend/zendAPI.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephirfetchnpropertythisquick’: /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zenduint’ void zephircast(zval *result, zval *var, zenduint type); ^ In file included from ./phpzeper.h:11:0, from ./phpext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval *object, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zenduint’ void zephirthrowexceptionstring(zendclassentry *ce, const char *message, zenduint messagelen TSRMLSDC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zenduint’ void zephirthrowexceptionzvaldebug(zendclassentry *ce, zval *message, const char *file, zenduint line TSRMLSDC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephirmaybeseparatezval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘ZREFCOUNTPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘ZISREFPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOCZVAL’ [-Wimplicit-function-declaration] ALLOCZVAL(newzv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘ZUNSETISREFP’ [-Wimplicit-function-declaration] ZUNSETISREFP(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INITPZVALCOPY’ INITPZVALCOPY(newzv, *z); ^ Installing... Internal extension compilation failed. Check compile-errors.log for more information

[email protected]:~/Code/yudaoadmin/tests/zephir/zeper$ zephir build --backend ZendEngine2 Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(returnvalueptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPYPZVALTOZVAL’ [-Wimplicit-function-declaration] COPYPZVALTOZVAL(return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval * {aka struct zvalstruct *}’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval *object, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry *ce, const char *message, zend_uint message_len, const char *file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry *ce, const char *message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry *ce, zval *message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zendglobals.h:28:0, from /usr/include/php/20170718/Zend/zendcompile.h:702, from /usr/include/php/20170718/Zend/zendmodules.h:26, from /usr/include/php/20170718/Zend/zendAPI.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephirfetchnpropertythisquick’: /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ /usr/include/php/20170718/Zend/zendglobalsmacros.h:46:33: error: ‘zendexecutorglobals {aka struct zendexecutorglobals}’ has no member named ‘uninitializedzvalptr’ # define EG(v) (executorglobals.v) ^ kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitializedzvalptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zenduint’ void zephircast(zval *result, zval *var, zenduint type); ^ In file included from ./phpzeper.h:11:0, from ./phpext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zenduint’ zenduint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zenduint’ void zephirthrowexceptiondebug(zval *object, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zenduint’ void zephirthrowexceptionstringdebug(zendclassentry *ce, const char *message, zenduint messagelen, const char *file, zenduint line TSRMLSDC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zenduint’ void zephirthrowexceptionstring(zendclassentry *ce, const char *message, zenduint messagelen TSRMLSDC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zenduint’ void zephirthrowexceptionzvaldebug(zendclassentry *ce, zval *message, const char *file, zenduint line TSRMLSDC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephirmaybeseparatezval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘ZREFCOUNTPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘ZISREFPP’ [-Wimplicit-function-declaration] if (ZREFCOUNTPP(z) > 1 && !ZISREFPP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOCZVAL’ [-Wimplicit-function-declaration] ALLOCZVAL(new_zv); ^ ./kernel/main.h:83:3: warn