------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/e2fsprogs-libuuid-1.45.6.txz Installing /packages/All/c-ares-1.16.1.txz Installing /packages/All/ca_root_nss-3.58.txz ===== Message from ca_root_nss-3.58: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/openssl-1.1.1h_1,1.txz Installing /packages/All/mosquitto-1.6.7.txz ===> Creating users Using existing user 'nobody'. ===== Message from mosquitto-1.6.7: -- The mosquitto MQTT Python driver is now provided by net/py-paho-mqtt 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:19 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-mosquitto-0.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-mosquitto-0.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-mosquitto-0.4.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-mosquitto-0.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-mosquitto-0.4.0 for building => SHA256 Checksum OK for PECL/Mosquitto-0.4.0.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-mosquitto-0.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-mosquitto-0.4.0 for building ===> Extracting for php80-pecl-mosquitto-0.4.0 => SHA256 Checksum OK for PECL/Mosquitto-0.4.0.tgz. Extracted Memory Use: 0.28M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-mosquitto-0.4.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-mosquitto-0.4.0 depends on package: mosquitto>=0 - found ===> php80-pecl-mosquitto-0.4.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-mosquitto-0.4.0 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-mosquitto-0.4.0 depends on package: mosquitto>=0 - found ===> php80-pecl-mosquitto-0.4.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-mosquitto-0.4.0 depends on package: autoconf>0 - found ===> PHPizing for php80-pecl-mosquitto-0.4.0 ===> Configuring for php80-pecl-mosquitto-0.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 for mosquitto support... yes, shared checking for mosquitto files in default path... checking /usr/local... found in /usr/local checking for ANSI C header files... (cached) yes 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 whether strerror_r is declared... (cached) yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... no 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 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:06 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-mosquitto-0.4.0 --- mosquitto.lo --- --- mosquitto_message.lo --- --- mosquitto.lo --- /bin/sh /construction/net/pecl-mosquitto/Mosquitto-0.4.0/libtool --mode=compile cc -I. -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0 -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/include -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/main -I/construction/net/pecl-mosquitto/Mosquitto-0.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 -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c -o mosquitto.lo --- mosquitto_message.lo --- /bin/sh /construction/net/pecl-mosquitto/Mosquitto-0.4.0/libtool --mode=compile cc -I. -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0 -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/include -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/main -I/construction/net/pecl-mosquitto/Mosquitto-0.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 -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c -o mosquitto_message.lo --- mosquitto.lo --- mkdir .libs --- mosquitto_message.lo --- mkdir .libs --- mosquitto.lo --- mkdir: .libs: File exists --- mosquitto_message.lo --- cc -I. -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0 -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/include -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/main -I/construction/net/pecl-mosquitto/Mosquitto-0.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 -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c -fPIC -DPIC -o .libs/mosquitto_message.o --- mosquitto.lo --- cc -I. -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0 -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/include -I/construction/net/pecl-mosquitto/Mosquitto-0.4.0/main -I/construction/net/pecl-mosquitto/Mosquitto-0.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 -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c -fPIC -DPIC -o .libs/mosquitto.o --- mosquitto_message.lo --- In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:118:95: error: expected ';', ',' or ')' before 'TSRMLS_DC' typedef int (*php_mosquitto_write_t)(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC); ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:124:2: error: unknown type name 'php_mosquitto_write_t' php_mosquitto_write_t write_func; ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:236:53: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_mosquitto_handle_errno(int retval, int err TSRMLS_DC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'zim_Mosquitto_Message___construct': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:41:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:43:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:46:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'zim_Mosquitto_Message_topicMatchesSub': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:56:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:57:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:57:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:59:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:62:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'zim_Mosquitto_Message_tokeniseTopic': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:75:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:76:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &topic, &topic_len) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:76:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &topic, &topic_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:77:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:80:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:85:52: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to tokenise topic"); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:85:3: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to tokenise topic"); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: At top level: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:189:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_mosquitto_message_write_##name(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC) \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:161:1: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_LONG_PROPERTY_WRITER_FUNCTION' PHP_MOSQUITTO_MESSAGE_LONG_PROPERTY_WRITER_FUNCTION(mid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:189:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_mosquitto_message_write_##name(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC) \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:162:1: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_LONG_PROPERTY_WRITER_FUNCTION' PHP_MOSQUITTO_MESSAGE_LONG_PROPERTY_WRITER_FUNCTION(qos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:164:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_mosquitto_message_write_retain(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:171:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_mosquitto_message_write_topic(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:195:105: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_mosquitto_message_write_payload(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC) ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:161:78: error: 'php_mosquitto_message_write_mid' undeclared here (not in a function); did you mean 'php_mosquitto_message_read_mid'? { "" #name "", sizeof("" #name "") - 1, php_mosquitto_message_read_##name, php_mosquitto_message_write_##name } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:222:2: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD' PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD(mid), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:161:78: error: 'php_mosquitto_message_write_topic' undeclared here (not in a function); did you mean 'php_mosquitto_message_read_topic'? { "" #name "", sizeof("" #name "") - 1, php_mosquitto_message_read_##name, php_mosquitto_message_write_##name } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:223:2: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD' PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD(topic), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:161:78: error: 'php_mosquitto_message_write_payload' undeclared here (not in a function); did you mean 'php_mosquitto_message_read_payload'? { "" #name "", sizeof("" #name "") - 1, php_mosquitto_message_read_##name, php_mosquitto_message_write_##name } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:224:2: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD' PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD(payload), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:161:78: error: 'php_mosquitto_message_write_qos' undeclared here (not in a function); did you mean 'php_mosquitto_message_read_qos'? { "" #name "", sizeof("" #name "") - 1, php_mosquitto_message_read_##name, php_mosquitto_message_write_##name } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:225:2: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD' PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD(qos), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:161:78: error: 'php_mosquitto_message_write_retain' undeclared here (not in a function); did you mean 'php_mosquitto_message_read_retain'? { "" #name "", sizeof("" #name "") - 1, php_mosquitto_message_read_##name, php_mosquitto_message_write_##name } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:226:2: note: in expansion of macro 'PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD' PHP_MOSQUITTO_MESSAGE_PROPERTY_ENTRY_RECORD(retain), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:227:18: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] {NULL, 0, NULL, NULL} ^~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:227:18: note: (near initialization for 'php_mosquitto_message_property_entries[5].write_func') In file included from /usr/local/include/php/Zend/zend.h:356, from /usr/local/include/php/main/php.h:31, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:5: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'php_mosquitto_message_read_property': /usr/local/include/php/Zend/zend_object_handlers.h:181:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (&std_object_handlers) ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:292:36: note: in expansion of macro 'zend_get_std_object_handlers' zend_object_handlers * std_hnd = zend_get_std_object_handlers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:293:35: warning: passing argument 1 of 'std_hnd->read_property' from incompatible pointer type [-Wincompatible-pointer-types] retval = std_hnd->read_property(object, member, type READ_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:293:35: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:293:43: warning: passing argument 2 of 'std_hnd->read_property' from incompatible pointer type [-Wincompatible-pointer-types] retval = std_hnd->read_property(object, member, type READ_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:293:43: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'php_mosquitto_message_write_property': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:319:29: error: expected ')' before 'TSRMLS_CC' hnd->write_func(obj, value TSRMLS_CC); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:319:3: error: called object is not a function or function pointer hnd->write_func(obj, value 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/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:5: /usr/local/include/php/Zend/zend_object_handlers.h:181:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (&std_object_handlers) ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:332:36: note: in expansion of macro 'zend_get_std_object_handlers' zend_object_handlers * std_hnd = zend_get_std_object_handlers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:333:27: warning: passing argument 1 of 'std_hnd->write_property' from incompatible pointer type [-Wincompatible-pointer-types] std_hnd->write_property(object, member, value WRITE_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:333:27: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:333:35: warning: passing argument 2 of 'std_hnd->write_property' from incompatible pointer type [-Wincompatible-pointer-types] std_hnd->write_property(object, member, value WRITE_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:333:35: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} In file included from /usr/local/include/php/Zend/zend.h:356, from /usr/local/include/php/main/php.h:31, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:5: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'php_mosquitto_message_has_property': /usr/local/include/php/Zend/zend_object_handlers.h:181:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (&std_object_handlers) ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:392:36: note: in expansion of macro 'zend_get_std_object_handlers' zend_object_handlers * std_hnd = zend_get_std_object_handlers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:393:31: warning: passing argument 1 of 'std_hnd->has_property' from incompatible pointer type [-Wincompatible-pointer-types] ret = std_hnd->has_property(object, member, has_set_exists HAS_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:393:31: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:393:39: warning: passing argument 2 of 'std_hnd->has_property' from incompatible pointer type [-Wincompatible-pointer-types] ret = std_hnd->has_property(object, member, has_set_exists HAS_PROPERTY_CC); ^~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:393:39: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: At top level: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:418:69: error: expected ';', ',' or ')' before 'TSRMLS_DC' static HashTable *php_mosquitto_message_get_properties(zval *object TSRMLS_DC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:463:125: error: unknown type name 'php_mosquitto_write_t'; did you mean 'php_mosquitto_read_t'? void php_mosquitto_message_add_property(HashTable *h, const char *name, size_t name_length, php_mosquitto_read_t read_func, php_mosquitto_write_t write_func TSRMLS_DC) ^~~~~~~~~~~~~~~~~~~~~ php_mosquitto_read_t /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:487:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void mosquitto_message_object_destroy(zend_object *object TSRMLS_DC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c: In function 'zm_startup_mosquitto_message': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:563:50: warning: assignment to 'zend_object_read_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, int, void **, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int, void **, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int, void **, struct _zval_struct *)'} [-Wincompatible-pointer-types] mosquitto_message_object_handlers.read_property = php_mosquitto_message_read_property; ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:564:51: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types] mosquitto_message_object_handlers.write_property = php_mosquitto_message_write_property; ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:565:49: warning: assignment to 'zend_object_has_property_t' {aka 'int (*)(struct _zend_object *, struct _zend_string *, int, void **)'} from incompatible pointer type 'int (*)(zval *, zval *, int, void **)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int, void **)'} [-Wincompatible-pointer-types] mosquitto_message_object_handlers.has_property = php_mosquitto_message_has_property; ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:566:53: error: 'php_mosquitto_message_get_properties' undeclared (first use in this function); did you mean 'php_mosquitto_message_properties'? mosquitto_message_object_handlers.get_properties = php_mosquitto_message_get_properties; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_mosquitto_message_properties /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:566:53: note: each undeclared identifier is reported only once for each function it appears in /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:566:51: warning: assignment to 'zend_object_get_properties_t' {aka 'struct _zend_array * (*)(struct _zend_object *)'} from incompatible pointer type 'const php_mosquitto_prop_handler *' {aka 'const struct _php_mosquitto_prop_handler *'} [-Wincompatible-pointer-types] mosquitto_message_object_handlers.get_properties = php_mosquitto_message_get_properties; ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:569:51: error: 'mosquitto_message_object_destroy' undeclared (first use in this function); did you mean 'mosquitto_message_object_new'? mosquitto_message_object_handlers.free_obj = mosquitto_message_object_destroy; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mosquitto_message_object_new /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:569:49: warning: assignment to 'zend_object_free_obj_t' {aka 'void (*)(struct _zend_object *)'} from incompatible pointer type 'const php_mosquitto_prop_handler *' {aka 'const struct _php_mosquitto_prop_handler *'} [-Wincompatible-pointer-types] mosquitto_message_object_handlers.free_obj = mosquitto_message_object_destroy; ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:573:65: error: expected ')' before 'TSRMLS_CC' mosquitto_ce_message = zend_register_internal_class(&message_ce TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:11: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:167:3: warning: implicit declaration of function 'php_mosquitto_message_add_property'; did you mean 'php_mosquitto_message_has_property'? [-Wimplicit-function-declaration] php_mosquitto_message_add_property((a), (b)[i].name, (b)[i].name_length, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:167:3: note: in definition of macro 'PHP_MOSQUITTO_ADD_PROPERTIES' php_mosquitto_message_add_property((a), (b)[i].name, (b)[i].name_length, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:168:49: error: 'php_mosquitto_write_t' undeclared (first use in this function); did you mean 'php_mosquitto_read_t'? (php_mosquitto_read_t)(b)[i].read_func, (php_mosquitto_write_t)(b)[i].write_func TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:577:2: note: in expansion of macro 'PHP_MOSQUITTO_ADD_PROPERTIES' PHP_MOSQUITTO_ADD_PROPERTIES(&php_mosquitto_message_properties, php_mosquitto_message_property_entries); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:168:48: error: called object is not a function or function pointer (php_mosquitto_read_t)(b)[i].read_func, (php_mosquitto_write_t)(b)[i].write_func TSRMLS_CC); \ ^ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:577:2: note: in expansion of macro 'PHP_MOSQUITTO_ADD_PROPERTIES' PHP_MOSQUITTO_ADD_PROPERTIES(&php_mosquitto_message_properties, php_mosquitto_message_property_entries); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:168:89: error: expected ')' before 'TSRMLS_CC' (php_mosquitto_read_t)(b)[i].read_func, (php_mosquitto_write_t)(b)[i].write_func TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto_message.c:577:2: note: in expansion of macro 'PHP_MOSQUITTO_ADD_PROPERTIES' PHP_MOSQUITTO_ADD_PROPERTIES(&php_mosquitto_message_properties, php_mosquitto_message_property_entries); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [mosquitto_message.lo] Error code 1 make[1]: stopped in /construction/net/pecl-mosquitto/Mosquitto-0.4.0 --- mosquitto.lo --- In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:118:95: error: expected ';', ',' or ')' before 'TSRMLS_DC' typedef int (*php_mosquitto_write_t)(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC); ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:124:2: error: unknown type name 'php_mosquitto_write_t' php_mosquitto_write_t write_func; ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:236:53: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_mosquitto_handle_errno(int retval, int err TSRMLS_DC); ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:36:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline mosquitto_client_object *mosquitto_client_object_get(zval *zobj TSRMLS_DC) { ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client___construct': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:156:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:157:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!b", &id, &id_len, &clean_session) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:157:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!b", &id, &id_len, &clean_session) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:158:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:161:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:166:58: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, message, 1 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setTlsCertificates': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:185:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:186:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!|s!s!s!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:186:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!|s!s!s!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:191:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:195:37: error: expected ')' before 'TSRMLS_CC' if ((php_check_open_basedir(ca_path TSRMLS_CC) < 0) || ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:196:36: error: expected ')' before 'TSRMLS_CC' (php_check_open_basedir(cert_path TSRMLS_CC) < 0) || ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:197:35: error: expected ')' before 'TSRMLS_CC' (php_check_open_basedir(key_path TSRMLS_CC) < 0)) ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:199:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:203:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:205:49: error: expected ')' before 'TSRMLS_CC' php_stat(ca_path, ca_path_len, FS_IS_DIR, &stat TSRMLS_CC); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:220:2: warning: implicit declaration of function 'php_mosquitto_handle_errno'; did you mean 'php_mosquitto_exit_loop'? [-Wimplicit-function-declaration] php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ php_mosquitto_exit_loop /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:220:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setTlsInsecure': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:232:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:233:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &value) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:233:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &value) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:234:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:237:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:241:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setTlsOptions': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:253:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:254:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s!s!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:254:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s!s!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:259:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:262:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:266:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setTlsPSK': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:279:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:280:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!s!|s!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:280:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!s!|s!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:283:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:286:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:290:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setCredentials': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:303:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:304:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &username, &username_len, &password, &password_len) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:304:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &username, &username_len, &password, &password_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:305:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:308:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:311:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setWill': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:325:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:326:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sslb", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:326:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sslb", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:328:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:331:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:335:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_clearWill': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:345:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:347:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:350:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:354:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setReconnectDelay': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:366:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:367:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lb", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:367:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lb", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:369:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:372:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:376:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_connect': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:390:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:391:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lls!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:391:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lls!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:395:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:398:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:406:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_disconnect': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:417:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:419:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:422:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:427:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onConnect': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:438:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:439:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:439:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:442:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:445:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:448:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onDisconnect': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:467:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:468:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:468:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:471:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:474:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:477:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onLog': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:496:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:497:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:497:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:500:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:503:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:506:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onSubscribe': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:525:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:526:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:526:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:529:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:532:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:535:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onUnsubscribe': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:554:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:555:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:555:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:558:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:561:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:564:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onMessage': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:583:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:584:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:584:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:587:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:590:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:593:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_onPublish': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:612:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:613:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:613:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f!", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:616:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:619:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:622:74: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(mosquitto_ce_exception, "Need a valid callback", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_getSocket': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:639:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:641:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:644:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setMaxInFlightMessages': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:657:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:658:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &max) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:658:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &max) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:659:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:662:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:666:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_setMessageRetry': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:676:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:677:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &retry) == FAILURE) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:677:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &retry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:678:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:681:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_publish': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:697:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:698:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|lb", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:698:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|lb", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:700:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:703:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:707:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_subscribe': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:722:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:723:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:723:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:725:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:728:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:732:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_unsubscribe': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:746:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:747:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:747:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:749:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:752:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:756:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_loop': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:769:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:770:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:770:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:772:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:775:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:778:43: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_loopForever': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:789:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:790:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:790:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:5: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:792:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:795:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:801:44: error: expected ')' before 'TSRMLS_CC' php_mosquitto_handle_errno(retval, errno TSRMLS_CC); ^~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:12: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zim_Mosquitto_Client_exitLoop': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:129:106: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, mosquitto_ce_exception, &MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:815:2: note: in expansion of macro 'PHP_MOSQUITTO_ERROR_HANDLING' PHP_MOSQUITTO_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:817:3: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/php_mosquitto.h:132:72: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&MQTTG(mosquitto_original_error_handling) TSRMLS_CC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:820:2: note: in expansion of macro 'PHP_MOSQUITTO_RESTORE_ERRORS' PHP_MOSQUITTO_RESTORE_ERRORS(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: At top level: /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:851:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void mosquitto_client_object_destroy(zend_object *object ZO_HANDLE_DC TSRMLS_DC) ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:876:62: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void mosquitto_client_object_free(zend_object *object TSRMLS_DC) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:936:53: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_mosquitto_handle_errno(int retval, int err TSRMLS_DC) { ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_connect_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:991:83: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->connect_callback, &object->connect_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:993:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke connect callback %s()", mosquitto_finfo_name(&object->connect_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:993:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke connect callback %s()", mosquitto_finfo_name(&object->connect_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_disconnect_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1044:89: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->disconnect_callback, &object->disconnect_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1046:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke disconnect callback %s()", mosquitto_finfo_name(&object->disconnect_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1046:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke disconnect callback %s()", mosquitto_finfo_name(&object->disconnect_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_log_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1100:75: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->log_callback, &object->log_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1102:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke log callback %s()", mosquitto_finfo_name(&object->log_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1102:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke log callback %s()", mosquitto_finfo_name(&object->log_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_message_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1164:83: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->message_callback, &object->message_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1166:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke message callback %s()", mosquitto_finfo_name(&object->message_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1166:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke message callback %s()", mosquitto_finfo_name(&object->message_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_publish_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1214:83: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->publish_callback, &object->publish_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1216:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke publish callback %s()", mosquitto_finfo_name(&object->publish_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1216:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke publish callback %s()", mosquitto_finfo_name(&object->publish_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_subscribe_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1275:87: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->subscribe_callback, &object->subscribe_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1277:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke subscribe callback %s()", mosquitto_finfo_name(&object->subscribe_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1277:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke subscribe callback %s()", mosquitto_finfo_name(&object->subscribe_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_unsubscribe_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1330:91: error: expected ')' before 'TSRMLS_CC' if (zend_call_function(&object->unsubscribe_callback, &object->unsubscribe_callback_cache TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1332:53: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke unsubscribe callback %s()", mosquitto_finfo_name(&object->unsubscribe_callback)); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1332:4: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to invoke unsubscribe callback %s()", mosquitto_finfo_name(&object->unsubscribe_callback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'php_mosquitto_pw_callback': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1349:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration] TSRMLS_FETCH(); ^~~~~~~~~~~~ TSRMLS_CACHE /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c: In function 'zm_startup_mosquitto': /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1435:44: error: 'mosquitto_client_object_free' undeclared (first use in this function); did you mean 'mosquitto_client_object_new'? mosquitto_std_object_handlers.free_obj = mosquitto_client_object_free; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mosquitto_client_object_new /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1435:44: note: each undeclared identifier is reported only once for each function it appears in /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1436:44: error: 'mosquitto_client_object_destroy' undeclared (first use in this function); did you mean 'mosquitto_client_object_new'? mosquitto_std_object_handlers.dtor_obj = mosquitto_client_object_destroy; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mosquitto_client_object_new /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1440:63: error: expected ')' before 'TSRMLS_CC' mosquitto_ce_client = zend_register_internal_class(&client_ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1444:101: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? mosquitto_ce_exception = zend_register_internal_class_ex(&exception_ce, zend_exception_get_default(TSRMLS_C) ^~~~~~~~ TSRM_H /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1444:74: error: too many arguments to function 'zend_exception_get_default' mosquitto_ce_exception = zend_register_internal_class_ex(&exception_ce, zend_exception_get_default(TSRMLS_C) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:8: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1454:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("LOG_INFO", MOSQ_LOG_INFO); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1455:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("LOG_NOTICE", MOSQ_LOG_NOTICE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1456:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("LOG_WARNING", MOSQ_LOG_WARNING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1457:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("LOG_ERR", MOSQ_LOG_ERR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1458:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("LOG_DEBUG", MOSQ_LOG_DEBUG); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1460:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("SSL_VERIFY_NONE", 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1451:102: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(mosquitto_ce_client, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); \ ^~~~~~~~~ /construction/net/pecl-mosquitto/Mosquitto-0.4.0/mosquitto.c:1461:2: note: in expansion of macro 'REGISTER_MOSQUITTO_LONG_CONST' REGISTER_MOSQUITTO_LONG_CONST("SSL_VERIFY_PEER", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [mosquitto.lo] Error code 1 make[1]: stopped in /construction/net/pecl-mosquitto/Mosquitto-0.4.0 2 errors make[1]: stopped in /construction/net/pecl-mosquitto/Mosquitto-0.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/net/pecl-mosquitto FAILED 00:00:01