=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for php56-stats-2.0.3 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/math/php-stats/../../lang/php/ext.ini /tmp/math/php-stats/work/stats-2.0.3/stats.ini --- php_stats.lo --- --- com.lo --- --- dcdflib.lo --- --- ipmpar.lo --- --- php_stats.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/php_stats.c -o php_stats.lo --- com.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/com.c -o com.lo --- dcdflib.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/dcdflib.c -o dcdflib.lo --- ipmpar.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/ipmpar.c -o ipmpar.lo libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/ipmpar.c -fPIC -DPIC -o .libs/ipmpar.o --- dcdflib.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/dcdflib.c -fPIC -DPIC -o .libs/dcdflib.o --- com.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/com.c -fPIC -DPIC -o .libs/com.o --- php_stats.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/php_stats.c -fPIC -DPIC -o .libs/php_stats.o --- ipmpar.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/ipmpar.c -o ipmpar.o >/dev/null 2>&1 --- linpack.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/linpack.c -o linpack.lo --- com.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/com.c -o com.o >/dev/null 2>&1 --- php_stats.lo --- /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'stats_array_data_compare': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:173:11: error: 'Bucket {aka struct bucket}' has no member named 'val' first = f->val; ^~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:174:12: error: 'Bucket {aka struct bucket}' has no member named 'val' second = s->val; ^~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:176:11: error: too few arguments to function 'numeric_compare_function' result = numeric_compare_function(&first, &second TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:349:14: note: declared here ZEND_API int numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC); ^~~~~~~~~~~~~~~~~~~~~~~~ --- linpack.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/linpack.c -fPIC -DPIC -o .libs/linpack.o --- php_stats.lo --- /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_t': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:267:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_normal': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:397:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_gamma': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:544:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_chisquare': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:679:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_beta': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:816:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_binomial': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:956:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_noncentral_chisquare': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1096:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_f': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1230:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_noncentral_f': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1378:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_noncentral_t': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1512:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_negative_binomial': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1657:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_poisson': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1780:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_laplace': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1853:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_cauchy': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1923:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_logistic': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:1992:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_weibull': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2050:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_uniform': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2100:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_cdf_exponential': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2174:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long which; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_setall': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2216:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long iseed_1; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2217:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long iseed_2; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_getsd': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2231:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long iseed_1; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2232:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long iseed_2; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2237:8: warning: passing argument 1 of 'getsd' from incompatible pointer type [-Wincompatible-pointer-types] getsd(&iseed_1, &iseed_2); ^ In file included from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:34:0: /tmp/math/php-stats/work/stats-2.0.3/randlib.h:16:13: note: expected 'long int *' but argument is of type 'int *' extern void getsd(long *iseed1,long *iseed2); ^~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2237:18: warning: passing argument 2 of 'getsd' from incompatible pointer type [-Wincompatible-pointer-types] getsd(&iseed_1, &iseed_2); ^ In file included from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:34:0: /tmp/math/php-stats/work/stats-2.0.3/randlib.h:16:13: note: expected 'long int *' but argument is of type 'int *' extern void getsd(long *iseed1,long *iseed2); ^~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_gen_iuniform': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2249:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long low; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2250:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long high; ^~~~~~~~~ zend_ulong In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_phrase_to_seeds': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:343:39: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') #define convert_to_string(op) if ((op)->type != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:3: note: in expansion of macro 'convert_to_string' convert_to_##lower_type(*ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:343:81: error: incompatible type for argument 1 of '_convert_to_string' #define convert_to_string(op) if ((op)->type != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:3: note: in expansion of macro 'convert_to_string' convert_to_##lower_type(*ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:427:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_string_ex(ppzv) convert_to_ex_master(ppzv, string, STRING) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2484:2: note: in expansion of macro 'convert_to_string_ex' convert_to_string_ex(par1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:329:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_ibinomial': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2500:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long n; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_ibinomial_negative': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2520:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long n; ^~~~~~~~~ zend_ulong In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_rand_gen_t': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:2590:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_powersum': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3054:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3055:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3059:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3059:17: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3060:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_innerproduct': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3087:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3088:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3097:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL && ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3097:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3098:60: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3098:12: error: too few arguments to function 'zend_hash_get_current_data_ex' (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3099:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3100:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_independent_t': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3136:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ --- linpack.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/linpack.c -o linpack.o >/dev/null 2>&1 --- php_stats.lo --- /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3137:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3147:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3147:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3148:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3156:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3156:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3157:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_paired_t': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3195:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3196:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3212:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL && ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3212:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3213:73: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3213:25: error: too few arguments to function 'zend_hash_get_current_data_ex' (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3214:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3215:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_percentile': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3253:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ --- randlib.lo --- --- php_stats.lo --- /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ --- randlib.lo --- /bin/sh /tmp/math/php-stats/work/stats-2.0.3/libtool --mode=compile gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/stats-2.0.3 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/math/php-stats/work/stats-2.0.3/randlib.c -o randlib.lo --- php_stats.lo --- In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3254:2: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3259:39: warning: passing argument 2 of 'zend_hash_sort' from incompatible pointer type [-Wincompatible-pointer-types] if (zend_hash_sort(Z_ARRVAL_P(arg1), stats_array_data_compare, 1) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:220:14: note: expected 'sort_func_t {aka void (*)(void *, long unsigned int, long unsigned int, int (*)(const void *, const void *))}' but argument is of type 'int (*)(const void *, const void *)' ZEND_API int zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber TSRMLS_DC); ^~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3259:65: warning: passing argument 3 of 'zend_hash_sort' makes pointer from integer without a cast [-Wint-conversion] if (zend_hash_sort(Z_ARRVAL_P(arg1), stats_array_data_compare, 1) == FAILURE) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:220:14: note: expected 'compare_func_t {aka int (*)(const void *, const void *)}' but argument is of type 'int' ZEND_API int zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber TSRMLS_DC); ^~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3259:6: error: too few arguments to function 'zend_hash_sort' if (zend_hash_sort(Z_ARRVAL_P(arg1), stats_array_data_compare, 1) == FAILURE) { ^~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:220:14: note: declared here ZEND_API int zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber TSRMLS_DC); ^~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3270:67: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3270:19: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3272:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3275:61: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1); ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3275:13: error: too few arguments to function 'zend_hash_get_current_data_ex' data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3276:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3284:67: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3284:19: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3286:5: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_correlation': /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3324:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg1); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_array' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:428:35: note: in expansion of macro 'convert_to_ex_master' #define convert_to_array_ex(ppzv) convert_to_ex_master(ppzv, array, ARRAY) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3325:2: note: in expansion of macro 'convert_to_array_ex' convert_to_array_ex(arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:335:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_array(zval *op); ^~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3338:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3338:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((data1 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg1), &pos1)) != NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3339:64: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] && (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3339:16: error: too few arguments to function 'zend_hash_get_current_data_ex' && (data2 = zend_hash_get_current_data_ex(Z_ARRVAL_P(arg2), &pos2)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ --- randlib.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/randlib.c -fPIC -DPIC -o .libs/randlib.o --- php_stats.lo --- /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3341:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data1); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3342:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(data2); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_binomial_coef': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3369:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long i; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3370:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long n; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3371:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long x; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_stat_factorial': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3390:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long n; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3391:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long i; ^~~~~~~~~ zend_ulong /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'php_math_mean': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3419:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3419:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3420:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'php_population_variance': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3446:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3446:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3448:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_absolute_deviation': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3526:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3526:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3527:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_harmonic_mean': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3555:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3555:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3556:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_skew': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3593:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3593:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3595:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_kurtosis': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3631:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3631:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3633:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c: In function 'zif_stats_covariance': /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3679:67: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr_1), &pos_1)) != NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3679:18: error: too few arguments to function 'zend_hash_get_current_data_ex' while ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr_1), &pos_1)) != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3681:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3684:65: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] if ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr_2), &pos_2)) == NULL) { ^ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: expected 'void **' but argument is of type 'Bucket ** {aka struct bucket **}' ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3684:16: error: too few arguments to function 'zend_hash_get_current_data_ex' if ((entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr_2), &pos_2)) == NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:286:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_hash.h:182:14: note: declared here ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:491:35: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:383:6: note: in expansion of macro 'Z_TYPE_PP' if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \ ^~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:20: error: incompatible type for argument 1 of 'zval_isref_p' if (!PZVAL_IS_REF(*ppzv)) { \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:355:38: note: in definition of macro 'Z_ISREF_P' #define Z_ISREF_P(pz) zval_isref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:792:7: note: in expansion of macro 'PZVAL_IS_REF' if (!PZVAL_IS_REF(*ppzv)) { \ ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:414:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_bool zval_isref_p(zval* pz) { ^~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:342:42: error: incompatible type for argument 1 of 'zval_refcount_p' #define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:351:43: note: in definition of macro 'Z_REFCOUNT_P' #define Z_REFCOUNT_P(pz) zval_refcount_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:781:7: note: in expansion of macro 'Z_REFCOUNT_PP' if (Z_REFCOUNT_PP((ppzv)) > 1) { \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:398:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_refcount_p(zval* pz) { ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:345:38: error: incompatible type for argument 1 of 'zval_delref_p' #define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz)) ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:354:40: note: in definition of macro 'Z_DELREF_P' #define Z_DELREF_P(pz) zval_delref_p(pz) ^~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:783:4: note: in expansion of macro 'Z_DELREF_PP' Z_DELREF_PP(ppzv); \ ^~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:410:37: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' static zend_always_inline zend_uint zval_delref_p(zval* pz) { ^~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:768:19: error: invalid type argument of '->' (have 'zval {aka struct _zval_struct}') (z)->value = (v)->value; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:490:33: error: invalid type argument of unary '*' (have 'zval {aka struct _zval_struct}') #define Z_TYPE_P(zval_p) Z_TYPE(*zval_p) /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:489:24: note: in definition of macro 'Z_TYPE' #define Z_TYPE(zval) (zval).type ^~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:769:17: note: in expansion of macro 'Z_TYPE_P' Z_TYPE_P(z) = Z_TYPE_P(v); \ ^~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:774:3: note: in expansion of macro 'ZVAL_COPY_VALUE' ZVAL_COPY_VALUE(z, v); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:785:4: note: in expansion of macro 'INIT_PZVAL_COPY' INIT_PZVAL_COPY(new_zv, *(ppzv)); \ ^~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35:0, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:786:12: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'zval * {aka struct _zval_struct *}' *(ppzv) = new_zv; \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:793:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(ppzv); \ ^~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:384:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend.h:849:0, from /tmp/math/php-stats/work/.buildlink/include/php/main/php.h:35, from /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:26: /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:385:27: error: incompatible type for argument 1 of 'convert_to_double' convert_to_##lower_type(*ppzv); \ ^ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:426:36: note: in expansion of macro 'convert_to_ex_master' #define convert_to_double_ex(ppzv) convert_to_ex_master(ppzv, double, DOUBLE) ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/stats-2.0.3/php_stats.c:3687:3: note: in expansion of macro 'convert_to_double_ex' convert_to_double_ex(entry); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/php-stats/work/.buildlink/include/php/Zend/zend_operators.h:331:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval {aka struct _zval_struct}' ZEND_API void convert_to_double(zval *op); ^~~~~~~~~~~~~~~~~ *** [php_stats.lo] Error code 1 make: stopped in /tmp/math/php-stats/work/stats-2.0.3 --- randlib.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/randlib.c -o randlib.o >/dev/null 2>&1 --- dcdflib.lo --- libtool: compile: gcc -I. -I/tmp/math/php-stats/work/stats-2.0.3 -DPHP_ATOM_INC -I/tmp/math/php-stats/work/stats-2.0.3/include -I/tmp/math/php-stats/work/stats-2.0.3/main -I/tmp/math/php-stats/work/.buildlink/include/php -I/tmp/math/php-stats/work/.buildlink/include/php/main -I/tmp/math/php-stats/work/.buildlink/include/php/TSRM -I/tmp/math/php-stats/work/.buildlink/include/php/Zend -I/tmp/math/php-stats/work/.buildlink/include/php/ext -I/tmp/math/php-stats/work/.buildlink/include/php/ext/date/lib -I/tmp/math/php-stats/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/math/php-stats/work/stats-2.0.3/dcdflib.c -o dcdflib.o >/dev/null 2>&1 1 error make: stopped in /tmp/math/php-stats/work/stats-2.0.3 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/php-stats *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/php-stats