------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.35.txz Installing /packages/All/libargon2-20190702.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/php80-8.0.0.r2_1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0.txz Installing /packages/All/autoconf-2.69_3.txz SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building => SHA256 Checksum OK for PECL/jsond-1.4.0.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building ===> Extracting for php80-pecl-jsond-1.4.0 => SHA256 Checksum OK for PECL/jsond-1.4.0.tgz. Extracted Memory Use: 0.62M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-jsond-1.4.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-jsond-1.4.0 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-jsond-1.4.0 depends on package: autoconf>0 - found ===> PHPizing for php80-pecl-jsond-1.4.0 ===> Configuring for php80-pecl-jsond-1.4.0 Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure: loading site script /xports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pkg-config... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20200930 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable Jsond support... yes, shared checking for ANSI C header files... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.9 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-jsond-1.4.0 --- jsond.lo --- --- jsond_buffer.lo --- --- jsond_encoder.lo --- --- jsond_parser.lo --- --- jsond_scanner.lo --- --- jsond_parser.lo --- /bin/sh /construction/devel/pecl-jsond/jsond-1.4.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c -o jsond_parser.lo --- jsond.lo --- /bin/sh /construction/devel/pecl-jsond/jsond-1.4.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c -o jsond.lo --- jsond_buffer.lo --- /bin/sh /construction/devel/pecl-jsond/jsond-1.4.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_buffer.c -o jsond_buffer.lo --- jsond_encoder.lo --- /bin/sh /construction/devel/pecl-jsond/jsond-1.4.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c -o jsond_encoder.lo --- jsond_scanner.lo --- /bin/sh /construction/devel/pecl-jsond/jsond-1.4.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_scanner.c -o jsond_scanner.lo --- jsond_encoder.lo --- mkdir .libs cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c -fPIC -DPIC -o .libs/jsond_encoder.o --- jsond_scanner.lo --- cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_scanner.c -fPIC -DPIC -o .libs/jsond_scanner.o --- jsond_parser.lo --- cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c -fPIC -DPIC -o .libs/jsond_parser.o --- jsond.lo --- cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c -fPIC -DPIC -o .libs/jsond.o --- jsond_buffer.lo --- cc -I. -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/construction/devel/pecl-jsond/jsond-1.4.0/include -I/construction/devel/pecl-jsond/jsond-1.4.0/main -I/construction/devel/pecl-jsond/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-jsond/jsond-1.4.0/jsond_buffer.c -fPIC -DPIC -o .libs/jsond_buffer.o --- jsond.lo --- In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:30: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:158:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:159:116: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:162:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC) ^~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:31: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_encoder.h:25:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_json_encode_zval(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:33: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_parser.h:38:30: error: expected ';', ',' or ')' before 'TSRMLS_DC' int options, int max_depth TSRMLS_DC); ^~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:42:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(encode); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:42:1: warning: parameter names (without types) in function declaration static PHP_JSOND_FUNCTION(encode); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ --- jsond_parser.lo --- In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:88: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:158:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:159:116: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:162:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC) --- jsond.lo --- /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:43:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:43:1: warning: parameter names (without types) in function declaration static PHP_JSOND_FUNCTION(decode); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function --- jsond_parser.lo --- ^~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:89: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_parser.h:38:30: error: expected ';', ',' or ')' before 'TSRMLS_DC' int options, int max_depth TSRMLS_DC); ^~~~~~~~~ --- jsond.lo --- #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:44:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:44:1: warning: parameter names (without types) in function declaration static PHP_JSOND_FUNCTION(last_error); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ --- jsond_parser.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1845:30: error: expected ';', ',' or ')' before 'TSRMLS_DC' int options, int max_depth TSRMLS_DC) ^~~~~~~~~ --- jsond.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:45:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:45:1: warning: parameter names (without types) in function declaration static PHP_JSOND_FUNCTION(last_error_msg); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:76:15: error: 'encode' undeclared here (not in a function); did you mean 'znode'? PHP_JSOND_FE(encode, arginfo_jsond_encode) ^~~~~~ /usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~ /usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE' #define PHP_FE ZEND_FE ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:76:2: note: in expansion of macro 'PHP_JSOND_FE' PHP_JSOND_FE(encode, arginfo_jsond_encode) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:77:15: error: 'decode' undeclared here (not in a function); did you mean 'setmode'? PHP_JSOND_FE(decode, arginfo_jsond_decode) ^~~~~~ /usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY' #define ZEND_FE(name, arg_info) ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0) ^~~~~~~~~~~~~~~ /usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE' #define PHP_FE ZEND_FE ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:77:2: note: in expansion of macro 'PHP_JSOND_FE' PHP_JSOND_FE(decode, arginfo_jsond_decode) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:78:15: error: 'last_error' undeclared here (not in a function); did you mean 'strerror'? PHP_JSOND_FE(last_error, arginfo_jsond_last_error) ^~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~ /usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE' #define PHP_FE ZEND_FE ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:78:2: note: in expansion of macro 'PHP_JSOND_FE' PHP_JSOND_FE(last_error, arginfo_jsond_last_error) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:79:15: error: 'last_error_msg' undeclared here (not in a function); did you mean 'strerror_r'? PHP_JSOND_FE(last_error_msg, arginfo_jsond_last_error_msg) ^~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~ /usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE' #define PHP_FE ZEND_FE ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:79:2: note: in expansion of macro 'PHP_JSOND_FE' PHP_JSOND_FE(last_error_msg, arginfo_jsond_last_error_msg) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'php_json_register_serializable_interface': /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:113:20: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int] static inline void php_json_register_serializable_interface(TSRMLS_D) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:119:72: error: expected ')' before 'TSRMLS_CC' PHP_JSOND_NAME(serializable_ce) = zend_register_internal_interface(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zm_startup_jsond': /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:136:61: error: expected ')' before 'TSRMLS_CC' if (zend_register_functions(NULL, jsond_functions, NULL, 0 TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:142:44: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? php_json_register_serializable_interface(TSRMLS_C); ^~~~~~~~ TSRM_H /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:142:44: note: each undeclared identifier is reported only once for each function it appears in --- jsond_parser.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c: In function 'php_json_parser_object_init': /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1865:3: warning: implicit declaration of function 'TSRMLS_FETCH_FROM_CTX' [-Wimplicit-function-declaration] TSRMLS_FETCH_FROM_CTX(parser->zts_ctx); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1865:31: error: 'php_json_parser' {aka 'struct _php_json_parser'} has no member named 'zts_ctx' TSRMLS_FETCH_FROM_CTX(parser->zts_ctx); ^~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c: In function 'php_json_parser_object_update': /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1882:31: error: 'php_json_parser' {aka 'struct _php_json_parser'} has no member named 'zts_ctx' TSRMLS_FETCH_FROM_CTX(parser->zts_ctx); ^~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:87: --- jsond.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zm_activate_jsond': /usr/local/include/php/Zend/zend_API.h:68:23: error: 'zif_jsond_encode' undeclared (first use in this function); did you mean 'arginfo_jsond_encode'? #define ZEND_FN(name) zif_##name ^~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:65:29: note: in expansion of macro 'ZEND_FN' #define PHP_JSOND_FN(jname) ZEND_FN(jsond_ ## jname) ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:36: note: in expansion of macro 'PHP_JSOND_FN' orig->internal_function.handler = PHP_JSOND_FN(name); ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:201:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, encode); ^~~~~~~~~~~~~~~~~~~ --- jsond_parser.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:107:54: error: expected ')' before 'TSRMLS_CC' zend_std_write_property(_obj, _member, _value, NULL TSRMLS_CC) ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1896:3: note: in expansion of macro 'PHPC_OBJ_STD_WRITE_PROPERTY' PHPC_OBJ_STD_WRITE_PROPERTY(object, &zkey, data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1896:31: warning: passing argument 1 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types] PHPC_OBJ_STD_WRITE_PROPERTY(object, &zkey, data); ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:107:26: note: in definition of macro 'PHPC_OBJ_STD_WRITE_PROPERTY' zend_std_write_property(_obj, _member, _value, NULL TSRMLS_CC) ^~~~ In file included from /usr/local/include/php/Zend/zend.h:356, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:86: /usr/local/include/php/Zend/zend_object_handlers.h:203:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_std_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:87: /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:1896:39: warning: passing argument 2 of 'zend_std_write_property' from incompatible pointer type [-Wincompatible-pointer-types] PHPC_OBJ_STD_WRITE_PROPERTY(object, &zkey, data); ^~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:107:32: note: in definition of macro 'PHPC_OBJ_STD_WRITE_PROPERTY' zend_std_write_property(_obj, _member, _value, NULL TSRMLS_CC) ^~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:356, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_parser.tab.c:86: /usr/local/include/php/Zend/zend_object_handlers.h:203:16: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_std_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot); ^~~~~~~~~~~~~~~~~~~~~~~ *** [jsond_parser.lo] Error code 1 make[1]: stopped in /construction/devel/pecl-jsond/jsond-1.4.0 --- jsond.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:34: warning: assignment to 'zif_handler' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] orig->internal_function.handler = PHP_JSOND_FN(name); ^ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:201:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, encode); ^~~~~~~~~~~~~~~~~~~ --- jsond_scanner.lo --- In file included from /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_scanner.h:23, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_scanner.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:158:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:159:116: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:162:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC) ^~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_scanner.c:27: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_parser.h:38:30: error: expected ';', ',' or ')' before 'TSRMLS_DC' int options, int max_depth TSRMLS_DC); ^~~~~~~~~ --- jsond_encoder.lo --- In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:28: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:158:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:159:116: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:162:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC) ^~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:29: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_encoder.h:25:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_json_encode_zval(php_json_buffer *buf, zval *val, int options TSRMLS_DC); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:46:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_json_determine_array_type(phpc_val *val TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:71:89: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void php_json_pretty_print_char(php_json_buffer *buf, int options, char c TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:79:83: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void php_json_pretty_print_indent(php_json_buffer *buf, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:99:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void php_json_encode_double(php_json_buffer *buf, double d, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:134:100: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_json_escape_string(php_json_buffer *buf, char *s, phpc_str_size_t len, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:282:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_json_encode_array(php_json_buffer *buf, phpc_val *val, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:405:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_json_encode_serializable_object(php_json_buffer *buf, zval *val, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond_encoder.c:459:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_json_encode_zval(php_json_buffer *buf, zval *val, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ --- jsond_scanner.lo --- *** [jsond_scanner.lo] Error code 1 make[1]: stopped in /construction/devel/pecl-jsond/jsond-1.4.0 --- jsond.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:68:23: error: 'zif_jsond_decode' undeclared (first use in this function); did you mean 'arginfo_jsond_decode'? #define ZEND_FN(name) zif_##name ^~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:65:29: note: in expansion of macro 'ZEND_FN' #define PHP_JSOND_FN(jname) ZEND_FN(jsond_ ## jname) ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:36: note: in expansion of macro 'PHP_JSOND_FN' orig->internal_function.handler = PHP_JSOND_FN(name); ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:202:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, decode); ^~~~~~~~~~~~~~~~~~~ --- jsond_encoder.lo --- *** [jsond_encoder.lo] Error code 1 make[1]: stopped in /construction/devel/pecl-jsond/jsond-1.4.0 --- jsond.lo --- /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:34: warning: assignment to 'zif_handler' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] orig->internal_function.handler = PHP_JSOND_FN(name); ^ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:202:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, decode); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:68:23: error: 'zif_jsond_last_error' undeclared (first use in this function); did you mean 'arginfo_jsond_last_error'? #define ZEND_FN(name) zif_##name ^~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:65:29: note: in expansion of macro 'ZEND_FN' #define PHP_JSOND_FN(jname) ZEND_FN(jsond_ ## jname) ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:36: note: in expansion of macro 'PHP_JSOND_FN' orig->internal_function.handler = PHP_JSOND_FN(name); ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:203:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, last_error); ^~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:34: warning: assignment to 'zif_handler' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] orig->internal_function.handler = PHP_JSOND_FN(name); ^ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:203:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, last_error); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:68:23: error: 'zif_jsond_last_error_msg' undeclared (first use in this function); did you mean 'arginfo_jsond_last_error_msg'? #define ZEND_FN(name) zif_##name ^~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:65:29: note: in expansion of macro 'ZEND_FN' #define PHP_JSOND_FN(jname) ZEND_FN(jsond_ ## jname) ^~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:36: note: in expansion of macro 'PHP_JSOND_FN' orig->internal_function.handler = PHP_JSOND_FN(name); ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:205:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, last_error_msg); ^~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:192:34: warning: assignment to 'zif_handler' {aka 'void (*)(struct _zend_execute_data *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] orig->internal_function.handler = PHP_JSOND_FN(name); ^ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:205:3: note: in expansion of macro 'PHP_JSON_REPLACE_FN' PHP_JSON_REPLACE_FN(orig, last_error_msg); ^~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: At top level: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:290:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:297:73: error: expected ';', ',' or ')' before 'TSRMLS_DC' zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC) /* {{{ */ ^~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:313:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(encode) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zif_PHP_JSOND_IDENT': /usr/local/include/php/Zend/zend_API.h:72:52: warning: type of 'encode' defaults to 'int' [-Wimplicit-int] #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:313:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(encode) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:585:44: error: 'execute_data' undeclared (first use in this function); did you mean 'execute_ex'? #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:3: note: in definition of macro 'ZEND_CALL_NUM_ARGS' (call)->This.u2.num_args ^~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:8: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'This' (call)->This.u2.num_args ^~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:14: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:17: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:567:2: warning: passing argument 1 of 'zend_parse_parameters' makes integer from pointer without a cast [-Wint-conversion] (call)->This.u2.num_args ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:53: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ~~~~~~~~~^~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:320:93: warning: comparison between pointer and integer if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", ¶meter, &options, &depth) == FAILURE) { ^~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:321:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:313:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(encode) ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:30: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:63:31: warning: implicit declaration of function 'php_jsond_encode'; did you mean 'php_json_scan'? [-Wimplicit-function-declaration] #define PHP_JSOND_NAME(jname) php_jsond_ ## jname ^~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:329:2: note: in expansion of macro 'PHP_JSOND_NAME' PHP_JSOND_NAME(encode)(&buf, parameter, (int)options TSRMLS_CC); ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:329:54: error: expected ')' before 'TSRMLS_CC' PHP_JSOND_NAME(encode)(&buf, parameter, (int)options TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:333:14: error: 'return_value' undeclared (first use in this function); did you mean 'zend_value'? ZVAL_FALSE(return_value); ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:30: note: in definition of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^~~~ /usr/local/include/php/Zend/zend_types.h:884:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_FALSE; \ ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:333:3: note: in expansion of macro 'ZVAL_FALSE' ZVAL_FALSE(return_value); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:35: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'u1' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:884:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_FALSE; \ ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:333:3: note: in expansion of macro 'ZVAL_FALSE' ZVAL_FALSE(return_value); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:38: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:884:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_FALSE; \ ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:333:3: note: in expansion of macro 'ZVAL_FALSE' ZVAL_FALSE(return_value); ^~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:889:47: note: in expansion of macro 'RETVAL_STRINGL' #define PHPC_CSTRL_RETVAL RETVAL_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond_buffer.h:235:3: note: in expansion of macro 'PHPC_CSTRL_RETVAL' PHPC_CSTRL_RETVAL(_buf_s.c, _buf_s.len); \ ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:336:3: note: in expansion of macro 'PHP_JSON_BUF_RETURN' PHP_JSON_BUF_RETURN(buf, return_value); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: At top level: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: error: redefinition of 'zif_PHP_JSOND_IDENT' #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: note: previous definition of 'zif_PHP_JSOND_IDENT' was here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:313:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(encode) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zif_PHP_JSOND_IDENT': /usr/local/include/php/Zend/zend_API.h:72:52: warning: type of 'decode' defaults to 'int' [-Wimplicit-int] #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:585:44: error: 'execute_data' undeclared (first use in this function); did you mean 'execute_ex'? #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:3: note: in definition of macro 'ZEND_CALL_NUM_ARGS' (call)->This.u2.num_args ^~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:8: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'This' (call)->This.u2.num_args ^~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:14: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:17: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:567:2: warning: passing argument 1 of 'zend_parse_parameters' makes integer from pointer without a cast [-Wint-conversion] (call)->This.u2.num_args ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:53: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ~~~~~~~~~^~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:351:106: warning: comparison between pointer and integer if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &options) == FAILURE) { ^~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:352:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:707:37: error: 'return_value' undeclared (first use in this function); did you mean 'zend_value'? #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:30: note: in definition of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:359:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:35: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'u1' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:359:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:38: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:359:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:732:47: warning: 'return' with no value, in function returning non-void #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:359:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:363:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be greater than zero"); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:363:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be greater than zero"); ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:568:35: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'u1' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:364:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:38: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:364:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:732:47: warning: 'return' with no value, in function returning non-void #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:364:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:368:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be lower than %d", INT_MAX); ^~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:368:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be lower than %d", INT_MAX); ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:568:35: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'u1' #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:369:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:568:38: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /usr/local/include/php/Zend/zend_types.h:569:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:880:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_NULL; \ ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:707:27: note: in expansion of macro 'ZVAL_NULL' #define RETVAL_NULL() ZVAL_NULL(return_value) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:732:32: note: in expansion of macro 'RETVAL_NULL' #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:369:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:732:47: warning: 'return' with no value, in function returning non-void #define RETURN_NULL() do { RETVAL_NULL(); return;} while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:369:3: note: in expansion of macro 'RETURN_NULL' RETURN_NULL(); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:30: /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:63:31: warning: implicit declaration of function 'php_jsond_decode_ex'; did you mean 'php_json_yyparse'? [-Wimplicit-function-declaration] #define PHP_JSOND_NAME(jname) php_jsond_ ## jname ^~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:379:2: note: in expansion of macro 'PHP_JSOND_NAME' PHP_JSOND_NAME(decode_ex)(return_value, str, (size_t) str_len, (int) options, (int) depth TSRMLS_CC); ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:379:91: error: expected ')' before 'TSRMLS_CC' PHP_JSOND_NAME(decode_ex)(return_value, str, (size_t) str_len, (int) options, (int) depth TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: At top level: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: error: redefinition of 'zif_PHP_JSOND_IDENT' #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: note: previous definition of 'zif_PHP_JSOND_IDENT' was here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:343:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(decode) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zif_PHP_JSOND_IDENT': /usr/local/include/php/Zend/zend_API.h:72:52: warning: type of 'last_error' defaults to 'int' [-Wimplicit-int] #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:585:44: error: 'execute_data' undeclared (first use in this function); did you mean 'execute_ex'? #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:3: note: in definition of macro 'ZEND_CALL_NUM_ARGS' (call)->This.u2.num_args ^~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:8: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'This' (call)->This.u2.num_args ^~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:14: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:17: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:567:2: warning: passing argument 1 of 'zend_parse_parameters' makes integer from pointer without a cast [-Wint-conversion] (call)->This.u2.num_args ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:53: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ~~~~~~~~~^~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:387:59: warning: comparison between pointer and integer if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:388:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:708:38: error: 'return_value' undeclared (first use in this function); did you mean 'zend_value'? #define RETVAL_LONG(l) ZVAL_LONG(return_value, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:897:16: note: in definition of macro 'ZVAL_LONG' zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:733:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:391:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(JSOND_G(error_code)); ^~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:897:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:708:28: note: in expansion of macro 'ZVAL_LONG' #define RETVAL_LONG(l) ZVAL_LONG(return_value, l) ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:733:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:391:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(JSOND_G(error_code)); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:733:49: warning: 'return' with no value, in function returning non-void #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:391:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(JSOND_G(error_code)); ^~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: At top level: /usr/local/include/php/Zend/zend_API.h:72:52: error: 'zif_PHP_JSOND_IDENT' declared as function returning a function #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: error: redefinition of 'zif_PHP_JSOND_IDENT' #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:72:52: note: previous definition of 'zif_PHP_JSOND_IDENT' was here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:385:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error) ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c: In function 'zif_PHP_JSOND_IDENT': /usr/local/include/php/Zend/zend_API.h:72:52: warning: type of 'last_error_msg' defaults to 'int' [-Wimplicit-int] #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:585:44: error: 'execute_data' undeclared (first use in this function); did you mean 'execute_ex'? #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:3: note: in definition of macro 'ZEND_CALL_NUM_ARGS' (call)->This.u2.num_args ^~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:8: error: 'zend_function_entry' {aka 'struct _zend_function_entry'} has no member named 'This' (call)->This.u2.num_args ^~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:14: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:567:17: error: '(zend_function_entry *)&' is a pointer; did you mean to use '->'? (call)->This.u2.num_args ^ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~ In file included from /usr/local/include/php/Zend/zend_modules.h:24, from /usr/local/include/php/Zend/zend_API.h:25, from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_compile.h:567:2: warning: passing argument 1 of 'zend_parse_parameters' makes integer from pointer without a cast [-Wint-conversion] (call)->This.u2.num_args ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:585:25: note: in expansion of macro 'ZEND_CALL_NUM_ARGS' #define EX_NUM_ARGS() ZEND_CALL_NUM_ARGS(execute_data) ^~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:418:30: note: in expansion of macro 'EX_NUM_ARGS' #define ZEND_NUM_ARGS() EX_NUM_ARGS() ^~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:28: note: in expansion of macro 'ZEND_NUM_ARGS' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:53: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ~~~~~~~~~^~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:402:59: warning: comparison between pointer and integer if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { ^~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:403:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:715:45: error: 'return_value' undeclared (first use in this function); did you mean 'zend_value'? #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:926:16: note: in definition of macro 'ZVAL_NEW_STR' zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:408:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("No error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:408:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("No error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:408:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("No error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:410:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Maximum stack depth exceeded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:410:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Maximum stack depth exceeded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:412:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("State mismatch (invalid or malformed JSON)"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:412:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("State mismatch (invalid or malformed JSON)"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:414:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Control character error, possibly incorrectly encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:414:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Control character error, possibly incorrectly encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:416:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Syntax error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:416:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Syntax error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:418:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Malformed UTF-8 characters, possibly incorrectly encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:418:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Malformed UTF-8 characters, possibly incorrectly encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:420:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Recursion detected"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:420:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Recursion detected"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:422:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Inf and NaN cannot be JSON encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:422:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Inf and NaN cannot be JSON encoded"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:424:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Type is not supported"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:424:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Type is not supported"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:426:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("The decoded property name is invalid"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:426:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("The decoded property name is invalid"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:428:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Single unpaired UTF-16 surrogate in unicode escape"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:428:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Single unpaired UTF-16 surrogate in unicode escape"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_types.h:926:15: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] zval *__z = (z); \ ^ /usr/local/include/php/Zend/zend_API.h:650:3: note: in expansion of macro 'ZVAL_NEW_STR' ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \ ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:715:32: note: in expansion of macro 'ZVAL_STRINGL' #define RETVAL_STRINGL(s, l) ZVAL_STRINGL(return_value, s, l) ^~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:740:38: note: in expansion of macro 'RETVAL_STRINGL' #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:430:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Unknown error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:740:60: warning: 'return' with no value, in function returning non-void #define RETURN_STRINGL(s, l) do { RETVAL_STRINGL(s, l); return; } while (0) ^~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/phpc/phpc.h:887:47: note: in expansion of macro 'RETURN_STRINGL' #define PHPC_CSTRL_RETURN RETURN_STRINGL ^~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:396:2: note: in expansion of macro 'PHPC_CSTRL_RETURN' PHPC_CSTRL_RETURN(_msg, sizeof(_msg) - 1) ^~~~~~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:430:4: note: in expansion of macro 'PHP_JSON_ERROR_MSG_RETURN' PHP_JSON_ERROR_MSG_RETURN("Unknown error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:25: /usr/local/include/php/Zend/zend_API.h:72:52: note: declared here #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(zif_##name) ^~~~ /usr/local/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/php_jsond.h:68:35: note: in expansion of macro 'PHP_FUNCTION' #define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname)) ^~~~~~~~~~~~ /construction/devel/pecl-jsond/jsond-1.4.0/jsond.c:400:8: note: in expansion of macro 'PHP_JSOND_FUNCTION' static PHP_JSOND_FUNCTION(last_error_msg) ^~~~~~~~~~~~~~~~~~ *** [jsond.lo] Error code 1 make[1]: stopped in /construction/devel/pecl-jsond/jsond-1.4.0 4 errors make[1]: stopped in /construction/devel/pecl-jsond/jsond-1.4.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/devel/pecl-jsond FAILED 00:00:01