------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.35.txz Installing /packages/All/libargon2-20190702.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/php80-8.0.0.r2_1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0.txz Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/libnghttp2-1.41.0.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/curl-7.73.0.txz SUCCEEDED 00:00:19 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-solr-2.5.0_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-solr-2.5.0_1 for building => SHA256 Checksum OK for PECL/solr-2.5.0.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-solr-2.5.0_1 for building ===> Extracting for php80-pecl-solr-2.5.0_1 => SHA256 Checksum OK for PECL/solr-2.5.0.tgz. Extracted Memory Use: 3.04M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-solr-2.5.0_1 ===> Applying ports patches for php80-pecl-solr-2.5.0_1 from /xports/www/pecl-solr/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-solr-2.5.0_1 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> php80-pecl-solr-2.5.0_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-solr-2.5.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-solr-2.5.0_1 depends on package: autoconf>0 - found ===> php80-pecl-solr-2.5.0_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> php80-pecl-solr-2.5.0_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> PHPizing for php80-pecl-solr-2.5.0_1 ===> Configuring for php80-pecl-solr-2.5.0_1 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 cURL support... yes, shared checking for cURL in default path... found in /usr/local checking for cURL 7.15.0 or greater... libcurl 7.73.0 checking whether to enable the Solr extension... yes, shared checking whether to compile with solr in verbose mode... no checking libxml2 install dir... no checking whether to enable code coverage... no checking for curl_easy_perform in -lcurl... yes checking for JSON... Yes checking for libxml-2.0 >= 2.9.0... yes checking PHP version... PHP 7 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 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 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:08 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-solr-2.5.0_1 --- src/php7/php_solr.lo --- --- src/php7/php_solr_object.lo --- --- src/php7/php_solr_document.lo --- --- src/php7/php_solr_input_document.lo --- --- src/php7/php_solr_client.lo --- --- src/php7/php_solr_params.lo --- --- src/php7/php_solr_query.lo --- --- src/php7/php_solr_response.lo --- --- src/php7/php_solr_exception.lo --- --- src/php7/php_solr_utils.lo --- --- src/php7/php_solr_input_document.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c -o src/php7/php_solr_input_document.lo --- src/php7/php_solr_response.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c -o src/php7/php_solr_response.lo --- src/php7/php_solr_exception.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c -o src/php7/php_solr_exception.lo --- src/php7/php_solr.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c -o src/php7/php_solr.lo --- src/php7/php_solr_object.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c -o src/php7/php_solr_object.lo --- src/php7/php_solr_document.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c -o src/php7/php_solr_document.lo --- src/php7/php_solr_client.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c -o src/php7/php_solr_client.lo --- src/php7/php_solr_params.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c -o src/php7/php_solr_params.lo --- src/php7/php_solr_query.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c -o src/php7/php_solr_query.lo --- src/php7/php_solr_utils.lo --- /bin/sh /construction/www/pecl-solr/solr-2.5.0/libtool --mode=compile cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c -o src/php7/php_solr_utils.lo --- src/php7/php_solr_input_document.lo --- mkdir src/php7/.libs cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c -fPIC -DPIC -o src/php7/.libs/php_solr_input_document.o --- src/php7/php_solr_exception.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c -fPIC -DPIC -o src/php7/.libs/php_solr_exception.o --- src/php7/php_solr_response.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c -fPIC -DPIC -o src/php7/.libs/php_solr_response.o --- src/php7/php_solr_document.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c -fPIC -DPIC -o src/php7/.libs/php_solr_document.o --- src/php7/php_solr_object.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c -fPIC -DPIC -o src/php7/.libs/php_solr_object.o --- src/php7/php_solr_utils.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c -fPIC -DPIC -o src/php7/.libs/php_solr_utils.o --- src/php7/php_solr_params.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c -fPIC -DPIC -o src/php7/.libs/php_solr_params.o --- src/php7/php_solr_client.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c -fPIC -DPIC -o src/php7/.libs/php_solr_client.o --- src/php7/php_solr.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c -fPIC -DPIC -o src/php7/.libs/php_solr.o --- src/php7/php_solr_query.lo --- cc -I. -I/construction/www/pecl-solr/solr-2.5.0 -I/construction/www/pecl-solr/solr-2.5.0/include -I/construction/www/pecl-solr/solr-2.5.0/main -I/construction/www/pecl-solr/solr-2.5.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 -I/usr/local/include/libxml2 -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c -fPIC -DPIC -o src/php7/.libs/php_solr_query.o --- src/php7/php_solr_exception.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_response.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_exception.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_response.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_exception.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_response.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument___destruct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:47:6: warning: implicit declaration of function 'solr_fetch_document_entry'; did you mean 'solr_destroy_document_ex'? [-Wimplicit-function-declaration] --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:24:73: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_prepare_internal_info(zval *object, zval *return_value TSRMLS_DC) ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_document_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:47:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument___sleep': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:71:2: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1005 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1005_MSG); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:43:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:81:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name) ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:71:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1005 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1005_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument___wakeup': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:79:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1005 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1005_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_setBoost': --- src/php7/php_solr_response.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:90:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &boost_value) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:90:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &boost_value) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_response.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:102:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getBoost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:119:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_clear': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:134:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_response.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getHttpStatus': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:36:51: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] --- src/php7/php_solr_input_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_addField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:159:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|d", &field_name, ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:159:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|d", &field_name, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_response.lo --- http_status = solr_read_response_object_property(objptr, "http_status", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr_input_document.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:169:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_updateField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:222:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sls", &field_name, &field_name_length, &modifier, &field_value, &field_value_len) == FAILURE) { --- src/php7/php_solr_response.lo --- ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getHttpStatusMessage': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:51:59: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] http_status_message = solr_read_response_object_property(objptr, "http_status_message", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) --- src/php7/php_solr_input_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:222:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sls", &field_name, &field_name_length, &modifier, &field_value, &field_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:230:56: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_response.lo --- ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_success': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:66:47: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] --- src/php7/php_solr_input_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:243:91: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4003 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_4003_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:262:88: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_4004 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_4004_MSG); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- success = solr_read_response_object_property(objptr, "success", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_setFieldBoost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:280:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sd", &field_name, &field_name_length, &field_boost) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:280:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sd", &field_name, &field_name_length, &field_boost) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: --- src/php7/php_solr_response.lo --- ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getRequestUrl': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:80:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] prop = solr_read_response_object_property(objptr, "http_request_url", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) --- src/php7/php_solr_input_document.lo --- /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:294:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_setVersion': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:324:96: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, solr_ce_SolrIllegalArgumentException, &error_handling TSRMLS_CC); ^~~~~~~~~~ --- src/php7/php_solr_response.lo --- ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getRawRequestHeaders': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:95:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] --- src/php7/php_solr_input_document.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:325:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:325:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_params.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- prop = solr_read_response_object_property(objptr, "http_raw_request_headers", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr_input_document.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:351:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1008 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1008_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getFieldBoost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:387:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:387:6: error: too few arguments to function 'zend_parse_parameters' --- src/php7/php_solr_params.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getRawRequest': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:110:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] prop = solr_read_response_object_property(objptr, "http_raw_request", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) --- src/php7/php_solr_input_document.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:396:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_response.lo --- ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getRawResponseHeaders': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:125:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getFieldCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:425:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:444:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:444:6: error: too few arguments to function 'zend_parse_parameters' --- src/php7/php_solr_params.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_response.lo --- prop = solr_read_response_object_property(objptr, "http_raw_response_headers", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr_input_document.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:456:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) --- src/php7/php_solr_params.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getRawResponse': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:140:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] prop = solr_read_response_object_property(objptr, "http_raw_response", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:462:4: warning: implicit declaration of function 'solr_create_document_field_object'; did you mean 'solr_get_ustream_object'? [-Wimplicit-function-declaration] solr_create_document_field_object(field_values, &return_value TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_get_ustream_object /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:462:65: error: expected ')' before 'TSRMLS_CC' solr_create_document_field_object(field_values, &return_value TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_toArray': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:483:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- ^~~~~~ --- src/php7/php_solr_input_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:504:63: error: expected ')' before 'TSRMLS_CC' solr_create_document_field_object(field, ¤t_field_ptr TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_fieldExists': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:525:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:525:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:534:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ --- src/php7/php_solr_params.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_deleteField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:555:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:555:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: --- src/php7/php_solr_params.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:564:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_sort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:587:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &order_by, &sort_direction) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_params.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:587:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &order_by, &sort_direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:592:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ --- src/php7/php_solr_params.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- ) --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:604:28: error: 'solr_compare_field_name' undeclared (first use in this function); did you mean 'solr_document_get_field_names'? comparison_function = solr_compare_field_name; ^~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:604:28: note: each undeclared identifier is reported only once for each function it appears in --- src/php7/php_solr_params.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:133:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_serialize_solr_params_object(xmlChar **serialized, int *size, zval *objptr TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:198:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_unserialize_get_param_normal(xmlNode *normal_param, HashTable *params_ht TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:267:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_unserialize_get_param_simple_list(xmlNode *list_param, HashTable *params_ht TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:334:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_unserialize_get_param_arg_list(xmlNode *sort_param, HashTable *params_ht TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:422:95: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_unserialize_solr_params_object(const char *serialized, int size, zval *objptr TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:575:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'solr_params_obj_dtor': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:595:9: warning: implicit declaration of function 'solr_fetch_params_entry'; did you mean 'solr_destroy_param_value'? [-Wimplicit-function-declaration] if (solr_fetch_params_entry(obj, &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param_value /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:595:50: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(obj, &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) --- src/php7/php_solr_document.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:608:28: error: 'solr_rcompare_field_name' undeclared (first use in this function); did you mean 'solr_document_get_field_names'? comparison_function = solr_rcompare_field_name; ^~~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c: In function 'zim_SolrException_getInternalInfo': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:5: warning: implicit declaration of function 'solr_prepare_internal_info'; did you mean 'zend_free_internal_arg_info'? [-Wimplicit-function-declaration] solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:110:5: note: in expansion of macro 'solr_exception_return_internal_info' solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:56: error: expected ')' before 'TSRMLS_CC' solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:110:5: note: in expansion of macro 'solr_exception_return_internal_info' solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c: In function 'zim_SolrClientException_getInternalInfo': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:56: error: expected ')' before 'TSRMLS_CC' solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:118:5: note: in expansion of macro 'solr_exception_return_internal_info' solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c: In function 'zim_SolrIllegalOperationException_getInternalInfo': --- src/php7/php_solr_document.lo --- PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' --- src/php7/php_solr_exception.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:56: error: expected ')' before 'TSRMLS_CC' solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:126:5: note: in expansion of macro 'solr_exception_return_internal_info' solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c: In function 'zim_SolrIllegalArgumentException_getInternalInfo': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:56: error: expected ')' before 'TSRMLS_CC' solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:134:5: note: in expansion of macro 'solr_exception_return_internal_info' --- src/php7/php_solr_document.lo --- zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_exception.lo --- solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c: In function 'zim_SolrServerException_getInternalInfo': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:103:56: error: expected ')' before 'TSRMLS_CC' solr_prepare_internal_info(getThis(), return_value TSRMLS_CC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_exception.c:142:5: note: in expansion of macro 'solr_exception_return_internal_info' solr_exception_return_internal_info() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_exception.lo --- *** [src/php7/php_solr_exception.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr_document.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_utils.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:28:175: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_document_set_field(zval *objptr, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_length, solr_char_t *field_value, COMPAT_ARG_SIZE_T field_value_length TSRMLS_DC) --- src/php7/php_solr_utils.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:95:131: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_document_get_field(zval *objptr, zval *return_value, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_length TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:125:114: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_document_remove_field(zval *objptr, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_length TSRMLS_DC) ^~~~~~~~~ --- src/php7/php_solr_utils.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:152:114: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_document_field_exists(zval *objptr, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_length TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:179:100: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_serialize_document_object(HashTable *document_fields, xmlChar **buffer, int *size TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:234:93: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_unserialize_document_field(HashTable *document_fields, xmlNode *field_node TSRMLS_DC) --- src/php7/php_solr_utils.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_document.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:294:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_unserialize_child_documents(xmlDoc *doc, solr_document_t *doc_entry TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:353:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_unserialize_document_fields(xmlDoc *doc, HashTable *document_fields TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:443:100: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_unserialize_document_object(solr_document_t *doc_entry, char *serialized, int size TSRMLS_DC) --- src/php7/php_solr_utils.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___construct': /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:31:38: warning: implicit declaration of function 'solr_hashtable_get_new_index' [-Wimplicit-function-declaration] #define SOLR_UNIQUE_DOCUMENT_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(documents) TSRMLS_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:478:25: note: in expansion of macro 'SOLR_UNIQUE_DOCUMENT_INDEX' ulong document_index = SOLR_UNIQUE_DOCUMENT_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_utils.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:31:90: error: expected ')' before 'TSRMLS_CC' #define SOLR_UNIQUE_DOCUMENT_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(documents) TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:478:25: note: in expansion of macro 'SOLR_UNIQUE_DOCUMENT_INDEX' ulong document_index = SOLR_UNIQUE_DOCUMENT_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:486:136: error: expected ')' before 'TSRMLS_CC' zend_update_property_long(solr_ce_SolrDocument, objptr, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, document_index TSRMLS_CC); ^~~~~~~~~~ --- src/php7/php_solr_utils.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:486:50: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types] zend_update_property_long(solr_ce_SolrDocument, objptr, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, document_index TSRMLS_CC); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:387:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr_utils.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_document.lo --- ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value); ~~~~~~~~~~~~~^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___destruct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:501:6: warning: implicit declaration of function 'solr_fetch_document_entry'; did you mean 'solr_destroy_document_ex'? [-Wimplicit-function-declaration] if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_document_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:501:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) --- src/php7/php_solr_utils.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___set': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:532:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:532:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /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, ...); --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_utils.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_document.lo --- ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_utils.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_utils.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_query.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_utils.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:539:6: warning: implicit declaration of function 'solr_document_set_field'; did you mean 'solr_document_get_field_names'? [-Wimplicit-function-declaration] if (solr_document_set_field(getThis(), field_name, field_name_length, field_value, field_value_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:539:103: error: expected ')' before 'TSRMLS_CC' if (solr_document_set_field(getThis(), field_name, field_name_length, field_value, field_value_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___get': --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_utils.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:555:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:555:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_params.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams___clone': /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:37:36: warning: implicit declaration of function 'solr_hashtable_get_new_index' [-Wimplicit-function-declaration] #define SOLR_UNIQUE_PARAMS_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(params) TSRMLS_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:606:29: note: in expansion of macro 'SOLR_UNIQUE_PARAMS_INDEX' long int params_index = SOLR_UNIQUE_PARAMS_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:37:85: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_utils.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:560:6: warning: implicit declaration of function 'solr_document_get_field'; did you mean 'solr_document_get_field_names'? [-Wimplicit-function-declaration] if (solr_document_get_field(getThis(), return_value, field_name, field_name_length TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:560:84: error: expected ')' before 'TSRMLS_CC' if (solr_document_get_field(getThis(), return_value, field_name, field_name_length TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___isset': --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- #define SOLR_UNIQUE_PARAMS_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(params) TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:606:29: note: in expansion of macro 'SOLR_UNIQUE_PARAMS_INDEX' long int params_index = SOLR_UNIQUE_PARAMS_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:613:137: error: expected ')' before 'TSRMLS_CC' zend_update_property_long(solr_ce_SolrQuery, getThis(), SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, params_index TSRMLS_CC); ^~~~~~~~~~ ) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_utils.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:575:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:575:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_params.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types] #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:613:50: note: in expansion of macro 'getThis' zend_update_property_long(solr_ce_SolrQuery, getThis(), SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, params_index TSRMLS_CC); ^~~~~~~ --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_utils.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:580:6: warning: implicit declaration of function 'solr_document_field_exists'; did you mean 'solr_document_get_field_names'? [-Wimplicit-function-declaration] if (solr_document_field_exists(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:580:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_field_exists(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument___unset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:597:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:619:28: error: 'solr_compare_field_value_count' undeclared (first use in this function); did you mean 'solr_field_value_t'? comparison_function = solr_compare_field_value_count; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_field_value_t --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- /usr/local/include/php/Zend/zend_API.h:387:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value); ~~~~~~~~~~~~~^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:615:2: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_4001 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Cloning of SolrParams object instances is currently not supported"); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:615:81: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_utils.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c: In function 'zim_SolrUtils_escapeQueryChars': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:31:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &unescaped, &unescaped_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:31:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &unescaped, &unescaped_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c: In function 'zim_SolrUtils_queryPhrase': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:59:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &unescaped, &unescaped_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:59:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &unescaped, &unescaped_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c: In function 'zim_SolrUtils_digestXmlResponse': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:94:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &xmlresponse, &xmlresponse_len, &parse_mode) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:94:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &xmlresponse, &xmlresponse_len, &parse_mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:99:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Raw response is empty"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:99:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Raw response is empty"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:107:2: warning: implicit declaration of function 'solr_encode_generic_xml_response' [-Wimplicit-function-declaration] solr_encode_generic_xml_response(&sbuilder, xmlresponse, xmlresponse_len, parse_mode TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:107:86: error: expected ')' before 'TSRMLS_CC' solr_encode_generic_xml_response(&sbuilder, xmlresponse, xmlresponse_len, parse_mode TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:111:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Raw response was not valid"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:111:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Raw response was not valid"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:124:95: error: expected ')' before 'TSRMLS_CC' if (!php_var_unserialize(return_value, (const unsigned char **) &raw_resp, str_end, &var_hash TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:126:3: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1000_MSG); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:126:66: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1000_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:127:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:127:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c: In function 'zim_SolrUtils_digestJsonResponse': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:155:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &jsonResponse, &jsonResponse_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:155:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &jsonResponse, &jsonResponse_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:163:31: warning: implicit declaration of function 'solr_json_to_php_native' [-Wimplicit-function-declaration] json_translation_result = solr_json_to_php_native(&buffer, jsonResponse, jsonResponse_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:163:94: error: expected ')' before 'TSRMLS_CC' json_translation_result = solr_json_to_php_native(&buffer, jsonResponse, jsonResponse_len TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:167:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, solr_get_json_error_msg(json_translation_result)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:169:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in JSON->PHP conversion. JSON Error Code %d", json_translation_result); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:169:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in JSON->PHP conversion. JSON Error Code %d", json_translation_result); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:171:9: warning: implicit declaration of function 'solr_sarray_to_sobject'; did you mean 'solr_params_to_string'? [-Wimplicit-function-declaration] solr_sarray_to_sobject(&buffer TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~ solr_params_to_string /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:171:39: error: expected ')' before 'TSRMLS_CC' solr_sarray_to_sobject(&buffer TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:184:97: error: expected ')' before 'TSRMLS_CC' if (!php_var_unserialize(return_value, (const unsigned char **)&raw_resp, str_end, &var_hash TSRMLS_CC)) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:185:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1000_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:187:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:187:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_utils.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ *** [src/php7/php_solr_utils.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr_document.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:597:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_params.lo --- solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_4001 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Cloning of SolrParams object instances is currently not supported"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_setParam': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:629:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ¶m_name, ¶m_name_length, ¶m_value, ¶m_value_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:629:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ¶m_name, ¶m_name_length, ¶m_value, ¶m_value_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:623:28: error: 'solr_rcompare_field_value_count' undeclared (first use in this function); did you mean 'solr_field_value_t'? comparison_function = solr_rcompare_field_value_count; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_field_value_t --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_params.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:631:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:631:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:83: warning: implicit declaration of function 'solr_add_or_set_normal_param'; did you mean 'solr_add_normal_param'? [-Wimplicit-function-declaration] #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:636:6: note: in expansion of macro 'solr_set_normal_param' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_params.lo --- if (solr_set_normal_param(getThis(), param_name, param_name_length, param_value, param_value_length) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:636:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_length, param_value, param_value_length) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:5: warning: implicit declaration of function 'solr_set_return_solr_params_object'; did you mean 'solr_return_solr_params_object'? [-Wimplicit-function-declaration] solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:5: note: in definition of macro 'solr_return_solr_params_object' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:641:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_addParam': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:654:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ¶m_name, ¶m_name_length, ¶m_value, ¶m_value_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:654:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", ¶m_name, ¶m_name_length, ¶m_value, ¶m_value_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:634:28: error: 'solr_compare_field_boost_value' undeclared (first use in this function); did you mean 'solr_arg_list_value_t'? comparison_function = solr_compare_field_boost_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_arg_list_value_t --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:656:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:656:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:661:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_length, param_value, param_value_length) == FAILURE) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:666:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_getParam': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:679:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", ¶m_name, ¶m_name_length) == FAILURE) { --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:679:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", ¶m_name, ¶m_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:681:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:681:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:688:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter name"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:688:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter name"); --- src/php7/php_solr_query.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:693:6: warning: implicit declaration of function 'solr_param_find'; did you mean 'solr_params_to_string'? [-Wimplicit-function-declaration] if (solr_param_find(getThis(), param_name, param_name_length, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~ solr_params_to_string --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:693:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_length, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:701:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Very severe internal error while fetching (solr_param_t **) from solr_param_find() %s", __func__); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:701:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Very severe internal error while fetching (solr_param_t **) from solr_param_find() %s", __func__); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_params.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:750:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid parameter type in switch case %s", __func__); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:750:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid parameter type in switch case %s", __func__); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_client.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:116:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int solr_http_build_query(solr_string_t *buffer, solr_params_t *solr_params, const solr_char_t *delimiter, int delimiter_length TSRMLS_DC) --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_getPreparedParams': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:767:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:789:24: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrParams instance could not be retrieved from HashTable"); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery___construct': --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:147:59: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_client_t *solr_init_client(zval *objptr TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient___construct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:194:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &options) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:194:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &options) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_params.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:789:2: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrParams instance could not be retrieved from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_getParams': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:804:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:37:36: warning: implicit declaration of function 'solr_hashtable_get_new_index' [-Wimplicit-function-declaration] #define SOLR_UNIQUE_PARAMS_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(params) TSRMLS_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:50:29: note: in expansion of macro 'SOLR_UNIQUE_PARAMS_INDEX' long int params_index = SOLR_UNIQUE_PARAMS_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:37:85: error: expected ')' before 'TSRMLS_CC' #define SOLR_UNIQUE_PARAMS_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(params) TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:50:29: note: in expansion of macro 'SOLR_UNIQUE_PARAMS_INDEX' --- src/php7/php_solr_client.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:196:3: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Invalid parameter. The client options array is required for a SolrClient instance. It must also be passed as the only parameter"); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex --- src/php7/php_solr_params.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:838:28: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter type"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:838:6: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter type"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:855:24: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- long int params_index = SOLR_UNIQUE_PARAMS_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:57:93: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, solr_ce_SolrIllegalArgumentException, &error_handling TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:58:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &q, &query_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:58:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &q, &query_length) == FAILURE) { --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:196:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Invalid parameter. The client options array is required for a SolrClient instance. It must also be passed as the only parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:206:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "The SolrClient options cannot be an empty array"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:210:21: warning: implicit declaration of function 'solr_init_client'; did you mean 'solr_init_document'? [-Wimplicit-function-declaration] --- src/php7/php_solr_params.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrParams instance could not be retrieved from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:855:2: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrParams instance could not be retrieved from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams___toString': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:868:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:59:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:62:45: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC); ^~~~~~~~~~ ) --- src/php7/php_solr_client.lo --- solr_client_dest = solr_init_client(objptr TSRMLS_CC); ^~~~~~~~~~~~~~~~ solr_init_document /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:210:44: error: expected ')' before 'TSRMLS_CC' solr_client_dest = solr_init_client(objptr TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:210:19: warning: assignment to 'solr_client_t *' {aka 'struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] solr_client_dest = solr_init_client(objptr TSRMLS_CC); ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:213:84: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Unable to initialize solr_client_t "); --- src/php7/php_solr_params.lo --- if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_toString': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:892:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &url_encode) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:892:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &url_encode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:68:134: error: expected ')' before 'TSRMLS_CC' zend_update_property_long(solr_ce_SolrQuery, getThis(), SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, params_index TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types] --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:222:2: warning: implicit declaration of function 'solr_init_options'; did you mean 'solr_init_params'? [-Wimplicit-function-declaration] solr_init_options(client_options TSRMLS_CC); ^~~~~~~~~~~~~~~~~ solr_init_params /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:222:34: error: expected ')' before 'TSRMLS_CC' solr_init_options(client_options TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:240:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unsupported response writer %s. This value will be ignored", Z_STRVAL_P(tmp1)); ^~~~~~~~~ --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:897:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_serialize': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:920:6: warning: implicit declaration of function 'solr_serialize_solr_params_object'; did you mean 'solr_return_solr_params_object'? [-Wimplicit-function-declaration] --- src/php7/php_solr_query.lo --- #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:68:47: note: in expansion of macro 'getThis' zend_update_property_long(solr_ce_SolrQuery, getThis(), SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, params_index TSRMLS_CC); ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:387:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value); ~~~~~~~~~~~~~^~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:240:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unsupported response writer %s. This value will be ignored", Z_STRVAL_P(tmp1)); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:417:2: warning: implicit declaration of function 'solr_init_handle'; did you mean 'solr_free_handle'? [-Wimplicit-function-declaration] solr_init_handle(handle, client_options TSRMLS_CC); ^~~~~~~~~~~~~~~~ solr_free_handle --- src/php7/php_solr_params.lo --- if (solr_serialize_solr_params_object(&serialized, &size, getThis() TSRMLS_CC) == FAILURE || !serialized || !size) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_return_solr_params_object /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:920:70: error: expected ')' before 'TSRMLS_CC' if (solr_serialize_solr_params_object(&serialized, &size, getThis() TSRMLS_CC) == FAILURE || !serialized || !size) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:922:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to serialize object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:922:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to serialize object"); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:83: warning: implicit declaration of function 'solr_add_or_set_normal_param'; did you mean 'solr_add_normal_param'? [-Wimplicit-function-declaration] #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:72:7: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), (solr_char_t *) "q", sizeof("q")-1, q, query_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:417:41: error: expected ')' before 'TSRMLS_CC' solr_init_handle(handle, client_options TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient___destruct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:430:6: warning: implicit declaration of function 'solr_fetch_client_entry'; did you mean 'solr_destroy_client'? [-Wimplicit-function-declaration] if (solr_fetch_client_entry(getThis(), &solr_client TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_client /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:430:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &solr_client TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ --- src/php7/php_solr_params.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrParams_unserialize': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:940:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &serialized_object, &serialized_object_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:940:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &serialized_object, &serialized_object_len) == FAILURE) { --- src/php7/php_solr_query.lo --- #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:72:7: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), (solr_char_t *) "q", sizeof("q")-1, q, query_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:74:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error while setting query parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:74:4: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr_client.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient___sleep': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:446:32: error: expected ')' before 'TSRMLS_CC' solr_init_client(getThis() TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:447:84: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1001 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1001_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient___wakeup': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:455:32: error: expected ')' before 'TSRMLS_CC' solr_init_client(getThis() TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr_params.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:942:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:942:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error while setting query parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery___destruct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:89:6: warning: implicit declaration of function 'solr_fetch_params_entry'; did you mean 'solr_destroy_param_value'? [-Wimplicit-function-declaration] if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param_value --- src/php7/php_solr_params.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:949:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:949:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:954:6: warning: implicit declaration of function 'solr_unserialize_solr_params_object'; did you mean 'solr_return_solr_params_object'? [-Wimplicit-function-declaration] if (solr_unserialize_solr_params_object(serialized_object, serialized_object_len, getThis() TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_return_solr_params_object /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:954:94: error: expected ')' before 'TSRMLS_CC' if (solr_unserialize_solr_params_object(serialized_object, serialized_object_len, getThis() TSRMLS_CC) == FAILURE) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:956:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error during unserialization"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:956:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error during unserialization"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c: In function 'zim_SolrModifiableParams___construct': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:965:5: warning: implicit declaration of function 'solr_params_obj_ctor'; did you mean 'solr_params_obj_dtor'? [-Wimplicit-function-declaration] solr_params_obj_ctor(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~ solr_params_obj_dtor /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_params.c:965:36: error: expected ')' before 'TSRMLS_CC' solr_params_obj_ctor(getThis() TSRMLS_CC); ^~~~~~~~~ *** [src/php7/php_solr_params.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:602:6: warning: implicit declaration of function 'solr_document_remove_field'; did you mean 'solr_document_get_field_names'? [-Wimplicit-function-declaration] if (solr_document_remove_field(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:602:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_remove_field(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_offsetSet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:622:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:456:84: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1001 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1001_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient___clone': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:464:32: error: expected ')' before 'TSRMLS_CC' solr_init_client(getThis() TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:465:84: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_4001 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Cloning of SolrClient objects is currently not supported"); --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:89:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(getThis(), &solr_params TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:97:24: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, SOLR_ERROR_1008_MSG, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:97:2: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, SOLR_ERROR_1008_MSG, SOLR_FILE_LINE_FUNC); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_document.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:622:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:629:103: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_setServlet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:479:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &servlet_type_value, &new_servlet_value, &new_servlet_value_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:479:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &servlet_type_value, &new_servlet_value, &new_servlet_value_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:112:51: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:112:13: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_document.lo --- if (solr_document_set_field(getThis(), field_name, field_name_length, field_value, field_value_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_offsetGet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:643:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:643:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:481:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:481:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:114:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:114:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_document.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:648:84: error: expected ')' before 'TSRMLS_CC' if (solr_document_get_field(getThis(), return_value, field_name, field_name_length TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_offsetExists': --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:488:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid servlet value."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:488:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid servlet value."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:119:13: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:663:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:663:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:494:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:496:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:496:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:5: warning: implicit declaration of function 'solr_set_return_solr_params_object'; did you mean 'solr_return_solr_params_object'? [-Wimplicit-function-declaration] solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:5: note: in definition of macro 'solr_return_solr_params_object' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:668:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_field_exists(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_offsetUnset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:685:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:685:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:542:82: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Invalid Servlet type %ld specified. Value discarded.", servlet_type_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_query': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:569:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &solr_params_obj, solr_ce_SolrParams) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:123:9: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setStart': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:136:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:136:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_document.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:690:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_remove_field(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_rewind': --- src/php7/php_solr_input_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:638:28: error: 'solr_rcompare_field_boost_value' undeclared (first use in this function) comparison_function = solr_rcompare_field_boost_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:658:43: error: 'zend_qsort' undeclared (first use in this function); did you mean 'zend_sort'? if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ zend_sort /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:658:84: error: expected ')' before 'TSRMLS_CC' if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:569:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &solr_params_obj, solr_ce_SolrParams) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:571:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_4000_MSG); --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:138:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:138:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:704:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_current': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:723:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:732:3: warning: implicit declaration of function 'solr_create_document_field_object'; did you mean 'solr_get_ustream_object'? [-Wimplicit-function-declaration] --- src/php7/php_solr_input_document.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:658:55: warning: passing argument 3 of 'zend_hash_sort_ex' from incompatible pointer type [-Wincompatible-pointer-types] if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:33, from /usr/local/include/php/main/php.h:31, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_hash.h:268:108: note: expected 'bucket_compare_func_t' {aka 'int (*)(struct _Bucket *, struct _Bucket *)'} but argument is of type 'compare_func_t' {aka 'int (*)(const void *, const void *)'} --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:577:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:579:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:579:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: --- src/php7/php_solr_query.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:143:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) --- src/php7/php_solr_document.lo --- solr_create_document_field_object(field_values, &return_value TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_get_ustream_object /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:732:64: error: expected ')' before 'TSRMLS_CC' solr_create_document_field_object(field_values, &return_value TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_key': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:749:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_next': --- src/php7/php_solr_input_document.lo --- ZEND_API void ZEND_FASTCALL zend_hash_sort_ex(HashTable *ht, sort_func_t sort_func, bucket_compare_func_t compare_func, zend_bool renumber); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_merge': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:685:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|b", &source_document_zval, solr_ce_SolrInputDocument, &overwrite) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:685:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|b", &source_document_zval, solr_ce_SolrInputDocument, &overwrite) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:585:6: warning: implicit declaration of function 'solr_fetch_params_entry'; did you mean 'solr_destroy_param_value'? [-Wimplicit-function-declaration] if (solr_fetch_params_entry(solr_params_obj, &solr_params TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param_value /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:585:59: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_params_entry(solr_params_obj, &solr_params TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:587:81: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:148:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setRows': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:161:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:770:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_valid': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:789:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_serialize': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:811:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_input_document.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:690:70: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(source_document_zval, &source_document TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:695:80: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_client.lo --- solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrParams parameter passed is not a valid one."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:595:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrParams parameter passed contains no parameters."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:612:6: warning: implicit declaration of function 'solr_http_build_query' [-Wimplicit-function-declaration] if (solr_http_build_query(buffer, solr_params, delimiter, delimiter_length TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:161:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:163:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) --- src/php7/php_solr_input_document.lo --- if (solr_fetch_document_entry(destination_document_zval, &destination_document TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:702:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Source SolrInputDocument has no fields. Source documentId"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:702:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Source SolrInputDocument has no fields. Source documentId"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:612:76: error: expected ')' before 'TSRMLS_CC' if (solr_http_build_query(buffer, solr_params, delimiter, delimiter_length TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:614:66: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1003 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Error building HTTP query from parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:632:6: warning: implicit declaration of function 'solr_make_request'; did you mean 'solr_init_document'? [-Wimplicit-function-declaration] if (solr_make_request(client, solr_request_type TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:163:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr_input_document.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_addChildDocument': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:724:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &child_obj, solr_ce_SolrInputDocument) == FAILURE) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:724:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &child_obj, solr_ce_SolrInputDocument) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:729:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:731:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1008 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Internal Error: Unable to fetch document_entry."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:735:62: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(child_obj, &child_doc_entry TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:737:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1008 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Internal Error: Unable to fetch document_entry for child document."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:743:87: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Child document has no fields"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:748:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Internal Error: Unable to add child to the hashtable."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_addChildDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:766:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &docs_array) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:766:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &docs_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:770:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:772:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1008 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Internal Error: Unable to fetch document_entry."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:780:87: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "The array parameter passed is empty"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:798:127: error: expected ')' before 'TSRMLS_CC' if (Z_TYPE_P(solr_input_doc) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(solr_input_doc), solr_ce_SolrInputDocument TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:802:91: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u is not a valid SolrInputDocument instance", (curr_pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:807:65: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(solr_input_doc, &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:811:91: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u is not valid. Object not present in HashTable", (curr_pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:823:91: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u has no fields", (curr_pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:839:91: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u has no fields", (pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getChildDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:860:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:862:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:862:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_hasChildDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:880:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:882:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:882:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c: In function 'zim_SolrInputDocument_getChildDocumentsCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:900:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:902:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:902:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_input_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ *** [src/php7/php_solr_input_document.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:819:2: warning: implicit declaration of function 'solr_serialize_document_object'; did you mean 'solr_destroy_document_ex'? [-Wimplicit-function-declaration] solr_serialize_document_object(doc_fields, (xmlChar **) &serialized, &size TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_document_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:819:76: error: expected ')' before 'TSRMLS_CC' solr_serialize_document_object(doc_fields, (xmlChar **) &serialized, &size TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:168:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:173:2: note: in expansion of macro 'solr_return_solr_params_object' --- src/php7/php_solr_client.lo --- solr_init_document /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:632:49: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, solr_request_type TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:9: warning: implicit declaration of function 'solr_throw_solr_server_exception'; did you mean 'zend_throw_error_exception'? [-Wimplicit-function-declaration] solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:639:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_unserialize': /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:31:90: error: expected ')' before 'TSRMLS_CC' #define SOLR_UNIQUE_DOCUMENT_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(documents) TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:841:25: note: in expansion of macro 'SOLR_UNIQUE_DOCUMENT_INDEX' ulong document_index = SOLR_UNIQUE_DOCUMENT_INDEX(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:845:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &serialized, &serialized_length) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_query.lo --- solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:186:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:186:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_client.lo --- HANDLE_SOLR_SERVER_ERROR(client,"query"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:639:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"query"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:646:2: warning: implicit declaration of function 'solr_set_response_object_properties'; did you mean 'rebuild_object_properties'? [-Wimplicit-function-declaration] solr_set_response_object_properties(solr_ce_SolrQueryResponse, return_value, client, request_url, success TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rebuild_object_properties --- src/php7/php_solr_response.lo --- In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_getDigestedResponse': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:160:44: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] prop = solr_read_response_object_property(objptr, "http_digested_response", silent, &rv); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:845:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &serialized, &serialized_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:853:136: error: expected ')' before 'TSRMLS_CC' zend_update_property_long(solr_ce_SolrDocument, objptr, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, document_index TSRMLS_CC); --- src/php7/php_solr_query.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:188:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:188:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:646:107: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrQueryResponse, return_value, client, request_url, success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_addDocument': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:669:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|bl", &solr_input_doc, solr_ce_SolrInputDocument, &overwrite, &commitWithin) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:669:6: error: too few arguments to function 'zend_parse_parameters' --- src/php7/php_solr_response.lo --- ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); --- src/php7/php_solr_document.lo --- ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:853:50: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types] zend_update_property_long(solr_ce_SolrDocument, objptr, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) - 1, document_index TSRMLS_CC); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:193:6: warning: implicit declaration of function 'solr_add_simple_list_param'; did you mean 'solr_add_normal_param'? [-Wimplicit-function-declaration] if (solr_add_simple_list_param(getThis(), param_name, param_name_len, param_value, param_value_len TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~~~~~~ solr_add_normal_param /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:193:100: error: expected ')' before 'TSRMLS_CC' if (solr_add_simple_list_param(getThis(), param_name, param_name_len, param_value, param_value_len TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_client.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|bl", &solr_input_doc, solr_ce_SolrInputDocument, &overwrite, &commitWithin) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:671:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:671:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr_response.lo --- ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'zim_SolrResponse_setParseMode': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:178:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &parse_mode) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:178:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &parse_mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_document.lo --- /usr/local/include/php/Zend/zend_API.h:387:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value); ~~~~~~~~~~~~~^~~~~~ --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:197:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addSortField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:214:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_client.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:676:6: warning: implicit declaration of function 'solr_fetch_document_entry'; did you mean 'solr_destroy_document_ex'? [-Wimplicit-function-declaration] if (solr_fetch_document_entry(solr_input_doc, &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_document_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:676:58: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_response.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:185:105: error: expected ')' before 'TSRMLS_CC' zend_update_property_long(Z_OBJCE_P(objptr), objptr, "parser_mode", sizeof("parser_mode")-1, parse_mode TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:185:47: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types] zend_update_property_long(Z_OBJCE_P(objptr), objptr, "parser_mode", sizeof("parser_mode")-1, parse_mode TSRMLS_CC); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:858:6: warning: implicit declaration of function 'solr_unserialize_document_object'; did you mean 'solr_destroy_document_ex'? [-Wimplicit-function-declaration] if (solr_unserialize_document_object(doc_entry, serialized, serialized_length TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_document_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:858:79: error: expected ')' before 'TSRMLS_CC' if (solr_unserialize_document_object(doc_entry, serialized, serialized_length TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_clear': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:873:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:214:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:216:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- if (solr_fetch_document_entry(solr_input_doc, &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:678:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrInputDocument is not valid. Object not present in HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:678:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrInputDocument is not valid. Object not present in HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_response.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:387:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value); ~~~~~~~~~~~~~^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c: In function 'solr_response_get_response_impl': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:218:64: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] zval *response_writer = solr_read_response_object_property(objptr, "response_writer", silent, &rv); --- src/php7/php_solr.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_addField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:897:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:897:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &field_name, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:216:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:225:6: warning: implicit declaration of function 'solr_add_arg_list_param'; did you mean 'solr_add_normal_param'? [-Wimplicit-function-declaration] if (solr_add_arg_list_param(getThis(), param_name, param_name_len, param_value, param_value_len, avalue, avalue_length, ',', ' ' TSRMLS_CC) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~~~ solr_add_normal_param --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:688:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrInputDocument has no fields"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:688:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "SolrInputDocument has no fields"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_response.lo --- ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:904:103: error: expected ')' before 'TSRMLS_CC' if (solr_document_set_field(getThis(), field_name, field_name_length, field_value, field_value_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_getFieldCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:928:53: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:225:130: error: expected ')' before 'TSRMLS_CC' if (solr_add_arg_list_param(getThis(), param_name, param_name_len, param_value, param_value_len, avalue, avalue_length, ',', ' ' TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:694:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:696:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:696:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_response.lo --- ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:219:61: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] zval *raw_response = solr_read_response_object_property(objptr, "http_raw_response", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr.lo --- PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); --- src/php7/php_solr_document.lo --- if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_getField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:945:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:945:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:230:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addFilterQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:243:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:243:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:717:2: warning: implicit declaration of function 'solr_add_doc_node'; did you mean 'solr_xml_match_node'? [-Wimplicit-function-declaration] solr_add_doc_node(root_node, doc_entry TSRMLS_CC); ^~~~~~~~~~~~~~~~~ solr_xml_match_node /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:717:40: error: expected ')' before 'TSRMLS_CC' solr_add_doc_node(root_node, doc_entry TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:732:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) --- src/php7/php_solr_response.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:220:56: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] zval *success = solr_read_response_object_property(objptr, "success", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' --- src/php7/php_solr.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:950:84: error: expected ')' before 'TSRMLS_CC' if (solr_document_get_field(getThis(), return_value, field_name, field_name_length TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_toArray': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:966:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == SUCCESS) --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:245:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:245:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:739:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:746:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); --- src/php7/php_solr_response.lo --- #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:991:59: error: expected ')' before 'TSRMLS_CC' solr_create_document_field_object(field, ¤t_field TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_fieldExists': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1012:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1012:6: error: too few arguments to function 'zend_parse_parameters' --- src/php7/php_solr_query.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:250:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_addDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:773:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|bl", &docs_array, &overwrite, &commitWithin) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:773:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|bl", &docs_array, &overwrite, &commitWithin) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:221:60: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] zval *parser_mode = solr_read_response_object_property(objptr, "parser_mode", silent, &rv); ^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:24:108: note: in definition of macro 'solr_read_response_object_property' #define solr_read_response_object_property(objptr, name, silent, rv) zend_read_property(Z_OBJCE_P(objptr), objptr, name, sizeof(name)-1, silent, rv) ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1017:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_field_exists(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:252:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:252:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:775:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:775:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: --- src/php7/php_solr_response.lo --- /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_deleteField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1034:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1034:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &field_name, &field_name_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:257:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setShowDebugInfo': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:269:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &show_debug_info) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:785:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "The array parameter passed is empty"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:785:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "The array parameter passed is empty"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) --- src/php7/php_solr.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_document.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1039:73: error: expected ')' before 'TSRMLS_CC' if (solr_document_remove_field(getThis(), field_name, field_name_length TSRMLS_CC) == SUCCESS) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_sort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1060:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &order_by, &sort_direction) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:269:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &show_debug_info) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:271:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:804:121: error: expected ')' before 'TSRMLS_CC' if (Z_TYPE_P(solr_input_doc) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(solr_input_doc), solr_ce_SolrInputDocument TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:808:82: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u is not a valid SolrInputDocument instance", (curr_pos + 1U)); ^~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1060:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &order_by, &sort_direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1066:53: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:271:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:278:3: warning: implicit declaration of function 'solr_delete_solr_parameter'; did you mean 'solr_destroy_param'? [-Wimplicit-function-declaration] solr_delete_solr_parameter(getThis(), param_name, param_name_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:813:61: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry((solr_input_doc), &doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:817:82: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u is not valid. Object not present in HashTable", (curr_pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:829:82: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1079:28: error: 'solr_compare_field_name' undeclared (first use in this function); did you mean 'solr_document_get_field_names'? comparison_function = solr_compare_field_name; ^~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1079:28: note: each undeclared identifier is reported only once for each function it appears in /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1083:28: error: 'solr_rcompare_field_name' undeclared (first use in this function); did you mean 'solr_document_get_field_names'? comparison_function = solr_rcompare_field_name; ^~~~~~~~~~~~~~~~~~~~~~~~ solr_document_get_field_names --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:278:67: error: expected ')' before 'TSRMLS_CC' solr_delete_solr_parameter(getThis(), param_name, param_name_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:280:3: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "SolrInputDocument number %u has no fields", (curr_pos + 1U)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:843:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:847:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:847:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:285:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, "true", sizeof("true")-1) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:287:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding debugging info "); --- src/php7/php_solr_client.lo --- ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:873:49: error: expected ')' before 'TSRMLS_CC' solr_add_doc_node(root_node, current_doc_entry TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:898:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:287:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding debugging info "); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:905:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:912:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); --- src/php7/php_solr.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:292:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setExplainOther': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:305:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:305:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_client.lo --- ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_request': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:925:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &request_string, &request_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:925:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &request_string, &request_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:307:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:307:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:927:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:927:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: --- src/php7/php_solr.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:312:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) --- src/php7/php_solr_client.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:934:3: warning: implicit declaration of function 'solr_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] solr_throw_exception(solr_ce_SolrIllegalArgumentException, "Invalid request length. Request string is empty.", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~~~~~~~~~~~~ zend_throw_exception /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:934:130: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalArgumentException, "Invalid request length. Request string is empty.", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:314:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:314:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:939:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:941:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:941:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:319:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTimeAllowed': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:332:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:953:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:241:17: warning: implicit declaration of function 'solr_encode_generic_xml_response' [-Wimplicit-function-declaration] solr_encode_generic_xml_response(&buffer, Z_STRVAL_P(raw_response), Z_STRLEN_P(raw_response), Z_LVAL_P(parser_mode) TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:241:133: error: expected ')' before 'TSRMLS_CC' solr_encode_generic_xml_response(&buffer, Z_STRVAL_P(raw_response), Z_STRLEN_P(raw_response), Z_LVAL_P(parser_mode) TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:332:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:334:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:960:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:967:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_sendUpdateStream': --- src/php7/php_solr.lo --- PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:334:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:985:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &request_zv) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:985:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &request_zv) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:339:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:341:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:341:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1014:72: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1003 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1003_MSG); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1023:9: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"extract"); ^~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:346:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1026:130: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.extract_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_deleteById': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1045:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &id, &id_length) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setOmitHeader': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:360:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &omit_header) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:360:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &omit_header) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1045:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &id, &id_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1047:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ --- src/php7/php_solr.lo --- PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:362:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:362:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1047:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1054:102: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalArgumentException, "Invalid id parameter", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ --- src/php7/php_solr.lo --- int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:87:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_solr_globals_ctor(zend_solr_globals *solr_globals_arg TSRMLS_DC) ^~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:370:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, omit_header_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:372:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, omit_header_str); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1059:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1061:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1061:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:108: error: 'ZEND_ACC_DTOR' undeclared here (not in a function); did you mean 'ZEND_ACC_CTOR'? #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:372:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, omit_header_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1086:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:522:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrObject, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:377:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setEchoHandler': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:395:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &echo_handler) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:395:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &echo_handler) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1093:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1099:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_deleteByIds': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1121:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:545:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocumentField, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:397:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:397:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &ids_array) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1121:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &ids_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1122:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:545:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocumentField, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:405:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, echo_handler_str, param_value_len) == FAILURE) --- src/php7/php_solr_client.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1122:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1131:117: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalArgumentException, "The array parameter passed is empty", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_document_field_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:407:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, echo_handler_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:407:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, echo_handler_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1164:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Id number %u is not a valid string", error_pos); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1168:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1170:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:545:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocumentField, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:412:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setEchoParams': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:426:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1170:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1188:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:545:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocumentField, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_document_field_methods[1].flags') --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:426:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:428:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1195:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1199:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ --- src/php7/php_solr.lo --- #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:428:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr_client.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_deleteByQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1218:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1218:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: --- src/php7/php_solr.lo --- ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:545:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocumentField, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:433:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:435:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:435:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1220:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1220:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:440:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:458:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:458:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:460:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:460:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:468:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:470:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:470:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:475:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addFacetField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:488:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:488:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:490:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:490:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:495:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:497:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:497:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:502:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addFacetQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:515:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:515:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:517:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:517:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:522:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:524:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:524:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:529:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetPrefix': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:549:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:549:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:551:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:551:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:558:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:560:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:560:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:569:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetSort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:591:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &sort_type, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:591:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &sort_type, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:593:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:593:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:603:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:605:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:605:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:614:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:634:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:634:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:636:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:636:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:643:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:645:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:645:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:654:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetOffset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:674:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:674:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:676:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:676:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:683:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:685:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:685:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:694:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetMinCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:714:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:714:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:716:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:716:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:723:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:725:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:725:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:734:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:244:21: warning: implicit declaration of function 'solr_sobject_to_sarray'; did you mean 'solr_solrfunc_to_string'? [-Wimplicit-function-declaration] solr_sobject_to_sarray(&buffer TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~ solr_solrfunc_to_string /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:244:51: error: expected ')' before 'TSRMLS_CC' solr_sobject_to_sarray(&buffer TSRMLS_CC); ^~~~~~~~~~ ) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetMissing': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:756:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:756:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:758:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:758:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:768:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:770:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:770:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:779:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetMethod': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:799:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:799:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:801:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:801:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:808:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:810:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:810:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:819:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetEnumCacheMinDefaultFrequency': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:839:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:839:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:841:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:841:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:848:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:850:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:850:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:859:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addFacetDateField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:875:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:875:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:877:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:877:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:882:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:884:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:884:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:889:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetDateStart': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:909:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:909:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:911:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:911:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:918:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:920:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:920:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:929:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetDateEnd': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:949:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:949:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:951:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:951:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:958:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:960:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:960:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:969:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetDateGap': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:989:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:989:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:991:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:991:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:998:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1000:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1000:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1009:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setFacetDateHardEnd': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1031:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1031:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1033:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1033:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1043:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1045:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1045:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:554:5: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrCollapseFunction, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1054:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addFacetDateOther': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1074:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1074:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1076:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1076:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1083:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1085:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1085:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1094:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroup': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1116:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:554:5: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrCollapseFunction, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1116:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1118:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1118:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1126:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1128:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1128:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1133:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_collapse_function_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:554:5: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrCollapseFunction, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:554:5: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrCollapseFunction, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_collapse_function_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:554:5: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrCollapseFunction, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:584:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:584:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_document_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:584:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:584:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_document_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:584:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrDocument, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:628:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrInputDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:628:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrInputDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_input_document_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:628:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrInputDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:628:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrInputDocument, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_input_document_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:628:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrInputDocument, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:255:21: warning: implicit declaration of function 'solr_sarray_to_sobject'; did you mean 'solr_params_to_string'? [-Wimplicit-function-declaration] solr_sarray_to_sobject(&buffer TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~ solr_params_to_string /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:255:51: error: expected ')' before 'TSRMLS_CC' solr_sarray_to_sobject(&buffer TSRMLS_CC); ^~~~~~~~~~ ) --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:662:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrClient, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroup': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1146:6: warning: implicit declaration of function 'solr_param_find'; did you mean 'solr_params_to_string'? [-Wimplicit-function-declaration] if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~ solr_params_to_string --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:662:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrClient, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1146:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addGroupField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1164:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_client_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1164:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1166:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1166:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1171:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1173:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:662:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrClient, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:662:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrClient, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_client_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1173:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ --- src/php7/php_solr.lo --- ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1178:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1190:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addGroupFunction': --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:662:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrClient, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1210:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1210:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:757:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrModifiableParams, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1212:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1212:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:757:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrModifiableParams, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_modifiable_params_methods[1].flags') --- src/php7/php_solr_query.lo --- #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1217:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1219:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1219:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr.lo --- #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr.lo --- ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:757:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrModifiableParams, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1224:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupFunctions': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1236:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addGroupQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1256:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:757:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrModifiableParams, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_modifiable_params_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1256:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1258:25: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:757:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrModifiableParams, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1258:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1263:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1265:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1265:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:777:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQuery, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:777:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQuery, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_query_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1270:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupQueries': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1282:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1303:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:777:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQuery, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1303:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1305:25: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1305:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:777:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQuery, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_query_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1310:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1312:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1312:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:777:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQuery, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1024:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQueryResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1317:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1330:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupOffset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1349:44: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1349:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1351:25: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1024:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQueryResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_query_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1351:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1024:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQueryResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1356:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1358:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1358:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1024:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQueryResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_query_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1363:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupOffset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1376:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addGroupSortField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1399:47: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1024:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrQueryResponse, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) --- src/php7/php_solr_query.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1399:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1033:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrUpdateResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1401:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1401:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1410:133: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- if (solr_add_arg_list_param(getThis(), param_name, param_name_len, param_value, param_value_len, avalue, avalue_length, ',', ' ' TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1415:5: note: in expansion of macro 'solr_return_solr_params_object' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1033:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrUpdateResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_update_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupSortFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1428:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupFormat': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1449:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1033:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrUpdateResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1449:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1451:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1451:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1033:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrUpdateResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_update_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1456:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1458:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1458:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s ", param_value, param_name); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1033:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrUpdateResponse, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1463:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1042:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrPingResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupFormat': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1476:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupMain': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1497:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1497:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1499:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1042:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrPingResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_ping_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1499:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1042:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrPingResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1507:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1509:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1509:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1514:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1042:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrPingResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_ping_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupMain': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1527:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupNGroups': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1546:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1042:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrPingResponse, __destruct, Solr_no_args) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:106: error: invalid operands to binary | (have 'int' and 'zend_function_entry *' {aka 'struct _zend_function_entry *'}) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1546:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1548:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1052:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrGenericResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1548:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: warning: initialization of 'unsigned int' from 'zend_function_entry *' {aka 'struct _zend_function_entry *'} makes integer from pointer without a cast [-Wint-conversion] #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1556:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1558:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1558:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1052:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrGenericResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_generic_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1563:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1052:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrGenericResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupNGroups': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1576:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupTruncate': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1596:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr.lo --- /usr/local/include/php/Zend/zend_compile.h:208:42: error: initializer element is not constant #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1596:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1598:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ --- src/php7/php_solr.lo --- #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1052:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrGenericResponse, __destruct, Solr_no_args) ^~~~~~~~~ /usr/local/include/php/Zend/zend_compile.h:208:42: note: (near initialization for 'solr_generic_response_methods[1].flags') #define ZEND_ACC_PUBLIC (1 << 0) /* | X | X | X */ ^ /usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1598:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr.lo --- ^~~~~ /usr/local/include/php/main/php.h:388:25: note: in expansion of macro 'ZEND_ME' #define PHP_ME ZEND_ME ^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:28:90: note: in expansion of macro 'ZEND_ACC_PUBLIC' #define SOLR_DTOR(class_name, func_name, arginfo) PHP_ME(class_name, func_name, arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR) ^~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1052:2: note: in expansion of macro 'SOLR_DTOR' SOLR_DTOR(SolrGenericResponse, __destruct, Solr_no_args) ^~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1606:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1608:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1608:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1613:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupTruncate': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1626:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1645:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1645:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1647:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1647:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1655:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1657:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1657:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1662:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1675:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setGroupCachePercent': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1694:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &cache_pct)) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1694:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &cache_pct)) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1695:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1695:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1227:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "The query parameter is not a valid id"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1232:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1234:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1234:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1259:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1094:28: error: 'solr_compare_field_value_count' undeclared (first use in this function); did you mean 'solr_field_value_t'? comparison_function = solr_compare_field_value_count; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_field_value_t --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1266:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1272:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_getById': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1286:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &id, &id_len) == FAILURE) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1286:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &id, &id_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1288:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1288:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1701:9: warning: implicit declaration of function 'solr_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] solr_throw_exception(solr_ce_SolrIllegalArgumentException, "Group cache percent must be between 0 and 100", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~~~~~~~~~~~~ zend_throw_exception /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1701:133: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalArgumentException, "Group cache percent must be between 0 and 100", SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1709:94: error: expected ')' before 'TSRMLS_CC' if (solr_add_or_set_normal_param(getThis(), param_name, param_name_len, pval, pval_len, 0 TSRMLS_CC)) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1710:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, pval); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1710:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, pval); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1715:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getGroupCachePercent': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1727:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_collapse': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1749:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &obj_ref) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1749:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &obj_ref) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c: In function 'zm_startup_solr': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1119:53: error: 'solr_collapse_function_object_handler_clone' undeclared (first use in this function); did you mean 'solr_collapse_function_object_handlers'? solr_collapse_function_object_handlers.clone_obj = solr_collapse_function_object_handler_clone; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_collapse_function_object_handlers /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1119:53: note: each undeclared identifier is reported only once for each function it appears in /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1119:51: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] solr_collapse_function_object_handlers.clone_obj = solr_collapse_function_object_handler_clone; ^ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1098:28: error: 'solr_rcompare_field_value_count' undeclared (first use in this function); did you mean 'solr_field_value_t'? comparison_function = solr_rcompare_field_value_count; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_field_value_t --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1759:8: warning: implicit declaration of function 'solr_fetch_function_entry'; did you mean 'zend_fetch_function_str'? [-Wimplicit-function-declaration] if(solr_fetch_function_entry(collapse_func_obj, &collapse_func TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~ zend_fetch_function_str /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1759:67: error: expected ')' before 'TSRMLS_CC' if(solr_fetch_function_entry(collapse_func_obj, &collapse_func TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1760:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Internal Error Unable to fetch function from functions global"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1760:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Internal Error Unable to fetch function from functions global"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1120:50: error: 'solr_document_object_handler_clone' undeclared (first use in this function); did you mean 'solr_client_object_handlers'? solr_input_document_object_handlers.clone_obj = solr_document_object_handler_clone; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_client_object_handlers /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1120:48: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] solr_input_document_object_handlers.clone_obj = solr_document_object_handler_clone; ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1123:39: 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] solr_object_handlers.write_property = solr_object_write_property; ^ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:260:47: warning: implicit declaration of function 'solr_json_to_php_native' [-Wimplicit-function-declaration] int json_translation_result = solr_json_to_php_native(&buffer, Z_STRVAL_P(raw_response), Z_STRLEN_P(raw_response) TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:260:131: error: expected ')' before 'TSRMLS_CC' int json_translation_result = solr_json_to_php_native(&buffer, Z_STRVAL_P(raw_response), Z_STRLEN_P(raw_response) TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1766:9: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrMissingMandatoryParameterException,SOLR_ERROR_4100 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_4100_MSG, "field"); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1766:96: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrMissingMandatoryParameterException,SOLR_ERROR_4100 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_4100_MSG, "field"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1774:104: error: expected ')' before 'TSRMLS_CC' if (solr_add_or_set_normal_param(getThis(), param_name, param_name_len, buffer->str, buffer->len, 1 TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1775:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, buffer->str); ^~~~~~~~~ --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:267:21: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, solr_get_json_error_msg(json_translation_result)); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1109:28: error: 'solr_compare_field_boost_value' undeclared (first use in this function); did you mean 'solr_arg_list_value_t'? comparison_function = solr_compare_field_boost_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_arg_list_value_t --- src/php7/php_solr_response.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:267:84: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, solr_get_json_error_msg(json_translation_result)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:269:43: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in JSON->PHP conversion. JSON Error Code %d", json_translation_result); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:269:21: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in JSON->PHP conversion. JSON Error Code %d", json_translation_result); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:274:51: error: expected ')' before 'TSRMLS_CC' solr_sarray_to_sobject(&buffer TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:281:153: error: expected ')' before 'TSRMLS_CC' zend_update_property_stringl(Z_OBJCE_P(objptr), objptr, "http_digested_response", sizeof("http_digested_response")-1, buffer.str, buffer.len TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:281:61: warning: passing argument 2 of 'zend_update_property_stringl' from incompatible pointer type [-Wincompatible-pointer-types] zend_update_property_stringl(Z_OBJCE_P(objptr), objptr, "http_digested_response", sizeof("http_digested_response")-1, buffer.str, buffer.len TSRMLS_CC); ^~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/Zend/zend_API.h:391:82: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, const char *value, size_t value_length); ~~~~~~~~~~~~~^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:292:77: error: expected ')' before 'TSRMLS_CC' if (!php_var_unserialize(return_value, &raw_resp, str_end, &var_hash TSRMLS_CC)) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:296:76: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrException, SOLR_ERROR_1000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1000_MSG); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:298:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:298:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error unserializing raw response."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_response.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ *** [src/php7/php_solr_response.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1124:41: error: 'solr_object_write_dimension' undeclared (first use in this function); did you mean 'zend_object_write_dimension_t'? solr_object_handlers.write_dimension = solr_object_write_dimension; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_object_write_dimension_t /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1124:39: warning: assignment to 'zend_object_write_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] solr_object_handlers.write_dimension = solr_object_write_dimension; ^ --- src/php7/php_solr_object.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:627:67: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_options(solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:628:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_init_handle(solr_curl_t *sch, solr_client_options_t *options TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:629:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_make_request(solr_client_t *client, solr_request_type_t request_type TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:636:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extension_register_constants(int type, int module_number TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:637:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:638:78: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_extract_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:639:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_client_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:640:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_query_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:641:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_collapse_function_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:642:80: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:643:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_response_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:644:81: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_exception_register_class_properties(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:645:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_input_document_register_class_constants(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:647:184: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_response_object_properties(zend_class_entry *scope, zval *response_object, const solr_client_t *client, const solr_string_t *request_url, zend_bool success TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:648:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name, char *format, ...); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:649:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC, const char *filename, int file_line, const char *function_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:650:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_throw_solr_server_exception(solr_client_t *client,const char *requestType TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:653:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_obj_ctor(zval *obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:657:70: error: expected ';', ',' or ')' before 'TSRMLS_CC' zend_object *solr_extract_create_object_handler(zend_class_entry *ce TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:663:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_ustream_entry(zval *objptr, solr_ustream_t **stream_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:674:76: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API zend_object *solr_document_object_handler_clone(zval *zobject TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:714:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_name (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:715:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_name(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:717:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_value_count (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:718:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_value_count(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:720:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_compare_field_boost_value (const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:721:79: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_rcompare_field_boost_value(const void *a, const void *b TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:725:345: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_t *solr_create_new_param(const solr_char_t *param_name, size_t param_name_len, solr_param_type_t param_type, solr_bool allow_multiple, solr_param_value_equal_func_t value_equal_func, solr_param_fetch_func_t param_fetch_func, solr_param_value_free_func_t value_free_func, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:728:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_params_delete_param_value(solr_param_t *param, const solr_param_value_t *target_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:729:94: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_solr_parameter(zval *objptr, solr_char_t *name, int name_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:731:164: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_or_set_normal_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_bool allow_multiple TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:732:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:733:163: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_simple_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:734:223: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:735:258: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_add_arg_list_param_ex(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t delimiter, solr_char_t arg_separator, solr_char_t delimiter_override TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:736:209: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API solr_param_value_t* create_parameter_value_arg_list(solr_char_t *pvalue, int pvalue_length, solr_char_t *avalue, int avalue_length, solr_char_t *delimiter_override, solr_bool delimiter_overriden TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:760:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_param_find(zval *objptr, solr_char_t *pname, int pname_length, solr_param_t **solr_param TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:772:140: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_normal_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:773:145: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_simple_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:774:142: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_delete_arg_list_param_value(zval *objptr, solr_char_t *pname, int pname_length, solr_char_t *pvalue, int pvalue_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:787:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_generate_document_xml_from_fields(xmlNode *solr_doc_node, HashTable *document_fields TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:788:103: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_create_document_field_object(solr_field_list_t *field_values, zval **field_obj TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:789:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_add_doc_node(xmlNode *root_node, solr_document_t *doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:798:1: warning: parameter names (without types) in function declaration PHP_SOLR_API long solr_get_json_last_error(TSRMLS_D); ^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:800:120: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_json_to_php_native(solr_string_t *buffer, const solr_char_t *json_string, int json_string_length TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:802:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_hashtable_get_new_index(HashTable *ht TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:803:86: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_document_entry(zval *objptr, solr_document_t **doc_entry TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:804:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_client_entry(zval *objptr, solr_client_t **solr_client TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:805:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_params_entry(zval *objptr, solr_params_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:806:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_fetch_function_entry(zval *objptr, solr_function_t **solr_params TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:807:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_encode_generic_xml_response(solr_string_t *buffer, const solr_char_t *serialized, int size, long int parse_mode TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:808:99: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_set_return_solr_params_object(zval *return_value_ptr, zval *current_objptr TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:812:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sarray_to_sobject(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:813:63: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_sobject_to_sarray(solr_string_t *buffer TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:818:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_update_string(zval *obj, solr_char_t *key, int key_len, solr_char_t *value, int value_len TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:819:111: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_fetch_string(zval *obj, solr_char_t *key, int key_len, solr_string_t **string TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:820:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_return_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:822:109: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_solrfunc_display_string(zval *obj, solr_char_t *key, int key_len, zval **return_value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:824:71: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_object *solr_collapse_function_object_handler_clone(zval *object TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:828:91: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_xml_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:829:92: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_json_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:830:97: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int solr_get_phpnative_error(solr_string_t buffer, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:831:85: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API int hydrate_error_zval(zval *response, solr_exception_t *exceptionData TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:849:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:850:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:864:136: error: expected ';', ',' or ')' before 'TSRMLS_DC' int add_phrase_field(zval *obj, solr_char_t *pname, zval *boost, zval *slop, solr_char_t *field_name, COMPAT_ARG_SIZE_T field_name_len TSRMLS_DC); ^~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:867, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_dismax_query.h:22:1: warning: parameter names (without types) in function declaration void init_solr_dismax_query(TSRMLS_D); ^~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'solr_object_write_property': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:32:2: warning: implicit declaration of function 'solr_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1006_MSG, SOLR_ERROR_1006 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~~~~~~~~~~~~ zend_throw_exception /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:32:99: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1006_MSG, SOLR_ERROR_1006 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:36:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attempting to set value for [%s] property in a SolrObject instance", Z_STRVAL_P(member)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:36:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attempting to set value for [%s] property in a SolrObject instance", Z_STRVAL_P(member)); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: At top level: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:42:87: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'solr_object_unset_property': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:62:99: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1006_MSG, SOLR_ERROR_1006 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:66:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attempting to remove [%s] property in a SolrObject instance", Z_STRVAL_P(member)); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:66:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attempting to remove [%s] property in a SolrObject instance", Z_STRVAL_P(member)); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: At top level: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:72:74: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_SOLR_API void solr_object_unset_dimension(zval *object, zval *offset TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject___get': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:153:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:153:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:158:52: note: in expansion of macro 'getThis' property = zend_read_property(solr_ce_SolrObject, getThis(), name, name_len, 0, &rv); ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:404:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject___isset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:177:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:177:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject___unset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:203:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:203:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:208:2: warning: implicit declaration of function 'solr_throw_exception_ex'; did you mean 'zend_throw_exception_ex'? [-Wimplicit-function-declaration] solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1002 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1002_MSG, name); ^~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception_ex /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:208:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1002 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1002_MSG, name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject_offsetSet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:223:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &name, &name_len, &prop) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:223:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &name, &name_len, &prop) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:230:82: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1002 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1002_MSG, name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:235:76: error: expected ')' before 'TSRMLS_CC' zend_update_property(Z_OBJCE_P(getThis()), getThis(), name, name_len, prop TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:413:73: warning: passing argument 2 of 'zend_update_property' from incompatible pointer type [-Wincompatible-pointer-types] #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:235:45: note: in expansion of macro 'getThis' zend_update_property(Z_OBJCE_P(getThis()), getThis(), name, name_len, prop TSRMLS_CC); ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:384:74: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} ZEND_API void zend_update_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zval *value); ~~~~~~~~~~~~~^~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject_offsetGet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:253:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:253:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject_offsetExists': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:285:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:285:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c: In function 'zim_SolrObject_offsetUnset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:307:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:307:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_object.c:312:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1002 TSRMLS_CC, SOLR_FILE_LINE_FUNC, SOLR_ERROR_1002_MSG, name); ^~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1125:39: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types] solr_object_handlers.unset_property = solr_object_unset_property; ^ --- src/php7/php_solr_object.lo --- *** [src/php7/php_solr_object.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1126:41: error: 'solr_object_unset_dimension' undeclared (first use in this function); did you mean 'zend_object_unset_dimension_t'? solr_object_handlers.unset_dimension = solr_object_unset_dimension; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_object_unset_dimension_t /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1126:39: warning: assignment to 'zend_object_unset_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] solr_object_handlers.unset_dimension = solr_object_unset_dimension; ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1128:46: 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] solr_document_field_handlers.write_property = solr_document_field_write_property; ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1129:46: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types] solr_document_field_handlers.unset_property = solr_document_field_unset_property; ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1134:5: warning: implicit declaration of function 'php_solr_globals_ctor'; did you mean 'gc_globals_ctor'? [-Wimplicit-function-declaration] php_solr_globals_ctor(&solr_globals TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~ gc_globals_ctor /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1134:40: error: expected ')' before 'TSRMLS_CC' php_solr_globals_ctor(&solr_globals TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1138:5: warning: implicit declaration of function 'solr_extension_register_constants'; did you mean 'php_output_register_constants'? [-Wimplicit-function-declaration] solr_extension_register_constants(type, module_number TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_output_register_constants /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1138:58: error: expected ')' before 'TSRMLS_CC' solr_extension_register_constants(type, module_number TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1142:58: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrObject = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1146:45: error: expected ')' before 'TSRMLS_CC' zend_class_implements(solr_ce_SolrObject TSRMLS_CC, 1, solr_ce_ArrayAccess); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1146:5: error: too few arguments to function 'zend_class_implements' zend_class_implements(solr_ce_SolrObject TSRMLS_CC, 1, solr_ce_ArrayAccess); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /usr/local/include/php/Zend/zend_API.h:335:15: note: declared here ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1150:60: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrDocument = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1154:138: error: expected ')' before 'TSRMLS_CC' zend_declare_property_long(solr_ce_SolrDocument, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) -1, 0L, ZEND_ACC_PRIVATE TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1157:5: warning: implicit declaration of function 'solr_document_register_class_constants'; did you mean 'php_output_register_constants'? [-Wimplicit-function-declaration] solr_document_register_class_constants(solr_ce_SolrDocument TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_output_register_constants /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1157:64: error: expected ')' before 'TSRMLS_CC' solr_document_register_class_constants(solr_ce_SolrDocument TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1160:47: error: expected ')' before 'TSRMLS_CC' zend_class_implements(solr_ce_SolrDocument TSRMLS_CC, 3, solr_ce_ArrayAccess, solr_ce_Iterator, solr_ce_Serializable); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1160:5: error: too few arguments to function 'zend_class_implements' zend_class_implements(solr_ce_SolrDocument TSRMLS_CC, 3, solr_ce_ArrayAccess, solr_ce_Iterator, solr_ce_Serializable); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /usr/local/include/php/Zend/zend_API.h:335:15: note: declared here ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1164:65: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrDocumentField = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1168:198: error: expected ')' before 'TSRMLS_CC' zend_declare_property_stringl(solr_ce_SolrDocumentField, SOLR_FIELD_NAME_PROPERTY_NAME, sizeof(SOLR_FIELD_NAME_PROPERTY_NAME)-1, SOLR_SPACE_STRING, sizeof(SOLR_SPACE_STRING)-1, ZEND_ACC_PUBLIC TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1169:157: error: expected ')' before 'TSRMLS_CC' zend_declare_property_double(solr_ce_SolrDocumentField, SOLR_FIELD_BOOST_PROPERTY_NAME, sizeof(SOLR_FIELD_BOOST_PROPERTY_NAME)-1, 0.0f, ZEND_ACC_PUBLIC TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1170:151: error: expected ')' before 'TSRMLS_CC' zend_declare_property_null(solr_ce_SolrDocumentField, SOLR_FIELD_VALUES_PROPERTY_NAME, sizeof(SOLR_FIELD_VALUES_PROPERTY_NAME)-1, ZEND_ACC_PUBLIC TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1174:65: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrInputDocument = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1178:143: error: expected ')' before 'TSRMLS_CC' zend_declare_property_long(solr_ce_SolrInputDocument, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) -1, 0L, ZEND_ACC_PRIVATE TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1775:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, buffer->str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1782:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setExpand': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1798:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1798:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1800:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1800:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1808:9: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1810:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1810:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1815:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getExpand': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1829:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addExpandSortField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1850:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1850:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", ¶m_value, ¶m_value_len, &sort_direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1852:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1852:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1861:133: error: expected ')' before 'TSRMLS_CC' if (solr_add_arg_list_param(getThis(), param_name, param_name_len, param_value, param_value_len, avalue, avalue_length, ',', ' ' TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1866:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeExpandSortField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1880:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1880:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1882:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1882:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1113:28: error: 'solr_rcompare_field_boost_value' undeclared (first use in this function) comparison_function = solr_rcompare_field_boost_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1133:43: error: 'zend_qsort' undeclared (first use in this function); did you mean 'zend_sort'? if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ zend_sort /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1133:84: error: expected ')' before 'TSRMLS_CC' if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1133:55: warning: passing argument 3 of 'zend_hash_sort_ex' from incompatible pointer type [-Wincompatible-pointer-types] if (zend_hash_sort_ex(doc_entry->fields, zend_qsort, comparison_function, renumber TSRMLS_CC) == FAILURE) { ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/Zend/zend.h:33, from /usr/local/include/php/main/php.h:31, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_hash.h:268:108: note: expected 'bucket_compare_func_t' {aka 'int (*)(struct _Bucket *, struct _Bucket *)'} but argument is of type 'compare_func_t' {aka 'int (*)(const void *, const void *)'} ZEND_API void ZEND_FASTCALL zend_hash_sort_ex(HashTable *ht, sort_func_t sort_func, bucket_compare_func_t compare_func, zend_bool renumber); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_merge': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1160:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|b", &source_document_zval, solr_ce_SolrDocument, &overwrite) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1160:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|b", &source_document_zval, solr_ce_SolrDocument, &overwrite) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1165:70: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(source_document_zval, &source_document TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1170:80: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(destination_document_zval, &destination_document TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1177:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Source SolrDocument has no fields. Source"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1177:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Source SolrDocument has no fields. Source"); --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1887:5: warning: implicit declaration of function 'solr_delete_arg_list_param_value'; did you mean 'solr_destroy_param_value'? [-Wimplicit-function-declaration] solr_delete_arg_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param_value /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1887:98: error: expected ')' before 'TSRMLS_CC' solr_delete_arg_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_document.lo --- ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: At top level: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1194:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void solr_add_child_input_documents_from_documents(HashTable * children, solr_document_t *new_doc_entry TSRMLS_DC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_getInputDocument': --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1889:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getExpandSortFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1903:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1223:54: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(objptr, &old_doc_entry TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1225:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "SolrDocument could not be fetched."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1225:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "SolrDocument could not be fetched."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setExpandRows': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1923:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1923:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_document.lo --- /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1234:28: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "SolrInputDocument could not be created."); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1234:6: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "SolrInputDocument could not be created."); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_query.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1925:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1925:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_document.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1930:9: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1935:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getExpandRows': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1948:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setExpandQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1968:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1968:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1970:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1970:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1975:9: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1977:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1977:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1982:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getExpandQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:1995:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addExpandFilterQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2013:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2013:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2015:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2015:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2020:9: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2022:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2022:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2027:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeExpandFilterQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2041:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2041:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2043:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2043:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); --- src/php7/php_solr_document.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1248:6: warning: implicit declaration of function 'solr_add_child_input_documents_from_documents' [-Wimplicit-function-declaration] solr_add_child_input_documents_from_documents(old_doc_entry->children, new_doc_entry TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1248:90: error: expected ')' before 'TSRMLS_CC' solr_add_child_input_documents_from_documents(old_doc_entry->children, new_doc_entry TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_getChildDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1260:55: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_document.lo --- if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1262:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1262:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_hasChildDocuments': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1281:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1283:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1283:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'zim_SolrDocument_getChildDocumentsCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1302:55: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_document_entry(getThis(), &solr_doc TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1304:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1304:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to fetch document entry for current object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'solr_document_field_write_property': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1339:2: warning: implicit declaration of function 'solr_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1007_MSG, SOLR_ERROR_1007 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~~~~~~~~~~~~ zend_throw_exception /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1339:99: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1007_MSG, SOLR_ERROR_1007 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c: In function 'solr_document_field_unset_property': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_document.c:1358:99: error: expected ')' before 'TSRMLS_CC' solr_throw_exception(solr_ce_SolrIllegalOperationException, SOLR_ERROR_1007_MSG, SOLR_ERROR_1007 TSRMLS_CC, SOLR_FILE_LINE_FUNC); ^~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1181:5: warning: implicit declaration of function 'solr_input_document_register_class_constants'; did you mean 'php_output_register_constants'? [-Wimplicit-function-declaration] solr_input_document_register_class_constants(solr_ce_SolrInputDocument TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_output_register_constants /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1181:75: error: expected ')' before 'TSRMLS_CC' solr_input_document_register_class_constants(solr_ce_SolrInputDocument TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1185:58: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrClient = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1189:136: error: expected ')' before 'TSRMLS_CC' zend_declare_property_long(solr_ce_SolrClient, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) -1, 0L, ZEND_ACC_PRIVATE TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr_document.lo --- *** [src/php7/php_solr_document.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1192:5: warning: implicit declaration of function 'solr_client_register_class_constants'; did you mean 'zend_register_long_constant'? [-Wimplicit-function-declaration] solr_client_register_class_constants(solr_ce_SolrClient TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_register_long_constant /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1192:60: error: expected ')' before 'TSRMLS_CC' solr_client_register_class_constants(solr_ce_SolrClient TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1196:55: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrParams = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1199:42: error: expected ')' before 'TSRMLS_CC' zend_class_implements(solr_ce_SolrParams TSRMLS_CC, 1, solr_ce_Serializable); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1199:2: error: too few arguments to function 'zend_class_implements' zend_class_implements(solr_ce_SolrParams TSRMLS_CC, 1, solr_ce_Serializable); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /usr/local/include/php/Zend/zend_API.h:335:15: note: declared here ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1202:138: error: expected ')' before 'TSRMLS_CC' zend_declare_property_long(solr_ce_SolrParams, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME) -1, 0L, ZEND_ACC_PROTECTED TSRMLS_CC); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1211:25: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? init_solr_dismax_query(TSRMLS_C); ^~~~~~~~ TSRM_H --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1292:51: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1294:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1294:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1305:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_GET TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1310:9: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"get"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1315:125: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrQueryResponse, return_value, client, &(client->options.get_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_getByIds': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1333:47: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &ids_z) == FAILURE) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1333:9: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &ids_z) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1335:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1335:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1339:51: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1341:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Internal Error: Cannot fetch client object"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1341:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Internal Error: Cannot fetch client object"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1347:75: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, 4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Invalid parameter: at least 1 ID is required. Passed an empty array.", current_position); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1375:75: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, 4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Invalid id at position %ld", current_position); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1381:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_GET TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1387:9: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"get"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1392:125: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrQueryResponse, return_value, client, &(client->options.get_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_setResponseWriter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1407:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &wt, &wt_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1407:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &wt, &wt_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1409:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1409:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1416:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "The response writer is not a valid string"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1421:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1423:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1423:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1435:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unsupported response writer %s. This value will be ignored", wt); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1435:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unsupported response writer %s. This value will be ignored", wt); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_deleteByQueries': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1459:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &queries_array) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1459:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &queries_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1461:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1461:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1471:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "The array parameter passed is empty"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1471:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "The array parameter passed is empty"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1510:81: error: expected ')' before 'TSRMLS_CC' solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000 TSRMLS_CC, SOLR_FILE_LINE_FUNC, "Query number %u is not a valid query string", error_pos); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1515:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1517:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1517:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2048:5: warning: implicit declaration of function 'solr_delete_normal_param_value'; did you mean 'solr_destroy_param_value'? [-Wimplicit-function-declaration] solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_destroy_param_value /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2048:96: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1536:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2050:5: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getExpandFilterQueries': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2062:93: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) --- src/php7/php_solr_client.lo --- solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1543:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1549:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_optimize': --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlight': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2088:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2088:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1569:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sbb", &maxSegments, &maxSegmentsLen, &softCommit, &waitSearcher) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1569:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sbb", &maxSegments, &maxSegmentsLen, &softCommit, &waitSearcher) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /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, ...); --- src/php7/php_solr_query.lo --- ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2090:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2090:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: --- src/php7/php_solr_client.lo --- ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1571:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1571:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1585:48: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2098:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2100:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1587:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1587:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2100:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ --- src/php7/php_solr_client.lo --- ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1606:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1613:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2105:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addHighlightField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2118:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &list_param_value, &list_param_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2118:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &list_param_value, &list_param_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1619:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_commit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1637:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bbb", &softCommit, &waitSearcher, &expungeDeletes) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1637:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bbb", &softCommit, &waitSearcher, &expungeDeletes) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1639:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1639:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1654:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1656:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1656:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1675:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1682:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1688:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_rollback': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1706:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1708:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1708:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client from HashTable"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2120:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2120:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2125:120: error: expected ')' before 'TSRMLS_CC' if (solr_add_simple_list_param(getThis(), list_param_name, list_param_name_len, list_param_value, list_param_value_len TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2127:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s list ", list_param_value, list_param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2127:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s list ", list_param_value, list_param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2132:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightSnippets': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2152:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2152:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2154:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2154:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2161:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2163:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2163:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2172:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightFragsize': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2192:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2192:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2194:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2194:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2201:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2203:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2203:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2212:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightMergeContiguous': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2235:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2235:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|s", &bool_flag, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2237:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2237:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2247:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2249:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2249:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2258:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightRequireFieldMatch': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2272:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2272:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2274:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2274:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2282:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2284:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2284:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2289:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightMaxAnalyzedChars': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2302:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2302:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2304:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2304:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2309:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2311:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2311:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2316:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightAlternateField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2336:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2336:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2338:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2338:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2345:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2347:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2347:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2356:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightMaxAlternateFieldLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2376:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2376:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2378:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2378:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2385:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2387:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2387:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2396:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightFormatter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2416:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2416:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2418:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2418:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2425:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2427:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2427:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2436:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightSimplePre': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2456:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2456:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2458:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2458:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2465:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2467:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2467:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2476:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightSimplePost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2496:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2496:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2498:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2498:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2505:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2507:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2507:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2516:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightFragmenter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2536:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2536:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2538:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2538:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2545:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), fbuf.str, fbuf.len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2547:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2547:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", fbuf.str, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2556:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightUsePhraseHighlighter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2570:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2570:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2572:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2572:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2581:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2583:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2583:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2588:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightHighlightMultiTerm': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2602:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2602:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2604:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2604:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2613:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2615:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2615:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2620:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightRegexSlop': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2633:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2633:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2635:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2635:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2640:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2642:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2642:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2647:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightRegexPattern': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2660:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2660:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2662:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2662:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2667:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2669:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2669:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2674:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setHighlightRegexMaxAnalyzedChars': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2687:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2687:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2689:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2689:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2694:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2696:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2696:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2701:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setStats': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2719:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2719:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2721:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2721:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2730:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2732:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2732:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2737:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addStatsField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2750:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2750:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2752:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2752:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2757:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2759:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2759:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1212:2: warning: implicit declaration of function 'solr_query_register_class_constants'; did you mean 'zend_register_long_constant'? [-Wimplicit-function-declaration] solr_query_register_class_constants(solr_ce_SolrQuery TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_register_long_constant /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1212:55: error: expected ')' before 'TSRMLS_CC' solr_query_register_class_constants(solr_ce_SolrQuery TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1216:63: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrExtractRequest = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1727:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_UPDATE TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1734:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"update"); ^~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1218:46: error: 'solr_extract_create_object_handler' undeclared (first use in this function); did you mean 'solr_extract_request_object_handlers'? solr_ce_SolrExtractRequest->create_object = solr_extract_create_object_handler; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_extract_request_object_handlers /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1218:44: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'zend_function_entry *' {aka 'struct _zend_function_entry *'} [-Wincompatible-pointer-types] solr_ce_SolrExtractRequest->create_object = solr_extract_create_object_handler; ^ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1220:140: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1740:126: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrUpdateResponse, return_value, client, &(client->options.update_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_ping': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1752:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2764:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addStatsFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2777:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2777:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr.lo --- zend_declare_property_long(solr_ce_SolrExtractRequest, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME)-1, 0L, ZEND_ACC_PRIVATE TSRMLS_CC); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1754:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1754:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1763:49: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_PING TSRMLS_CC) == FAILURE) --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2779:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2779:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_client.lo --- ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1770:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"ping"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1776:122: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:739:176: error: expected ')' before 'TSRMLS_CC' #define solr_add_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 1 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2784:6: note: in expansion of macro 'solr_add_normal_param' if (solr_add_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- solr_set_response_object_properties(solr_ce_SolrPingResponse, return_value, client, &(client->options.ping_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_threads': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1788:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1790:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2786:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding parameter %s=%s ", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2786:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error adding parameter %s=%s ", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1790:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1799:52: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_THREADS TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2791:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMlt': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2809:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ --- src/php7/php_solr_client.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1805:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"threads"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1811:127: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrGenericResponse, return_value, client, &(client->options.thread_url), success TSRMLS_CC); ^~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2809:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2811:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ --- src/php7/php_solr_client.lo --- ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_system': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1823:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1825:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1825:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2811:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1834:51: error: expected ')' before 'TSRMLS_CC' if (solr_make_request(client, SOLR_REQUEST_SYSTEM TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:139:79: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr_query.lo --- ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2820:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2822:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2822:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- solr_throw_solr_server_exception(clientPtr, (const char *)requestType TSRMLS_CC);\ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1840:3: note: in expansion of macro 'HANDLE_SOLR_SERVER_ERROR' HANDLE_SOLR_SERVER_ERROR(client,"system"); ^~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1846:127: error: expected ')' before 'TSRMLS_CC' solr_set_response_object_properties(solr_ce_SolrGenericResponse, return_value, client, &(client->options.system_url), success TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_getOptions': --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2827:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1859:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1861:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1861:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2840:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2840:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here --- src/php7/php_solr_client.lo --- PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c: In function 'zim_SolrClient_getDebug': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1907:48: error: expected ')' before 'TSRMLS_CC' if (solr_fetch_client_entry(getThis(), &client TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1909:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:1909:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to retrieve client"); ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2842:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2842:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_client.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_client.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ --- src/php7/php_solr_query.lo --- In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2847:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2849:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2849:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2854:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addMltField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2867:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &list_param_value, &list_param_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2867:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &list_param_value, &list_param_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2869:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2869:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2874:120: error: expected ')' before 'TSRMLS_CC' if (solr_add_simple_list_param(getThis(), list_param_name, list_param_name_len, list_param_value, list_param_value_len TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2876:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s list ", list_param_value, list_param_name); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2876:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to add param value %s to %s list ", list_param_value, list_param_name); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2881:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_addMltQueryField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2901:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &query_field, &query_field_length, &boost_value, &boost_value_length) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2901:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &query_field, &query_field_length, &boost_value, &boost_value_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2903:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2903:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2908:143: error: expected ')' before 'TSRMLS_CC' if (solr_add_arg_list_param(getThis(), param_name, param_name_len, query_field, query_field_length, boost_value, boost_value_length, ' ', '^' TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2913:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMinTermFrequency': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2926:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2926:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2928:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2928:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1221:2: warning: implicit declaration of function 'solr_extract_register_class_constants'; did you mean 'php_output_register_constants'? [-Wimplicit-function-declaration] solr_extract_register_class_constants(solr_ce_SolrExtractRequest TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_output_register_constants /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1221:66: error: expected ')' before 'TSRMLS_CC' solr_extract_register_class_constants(solr_ce_SolrExtractRequest TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1227:147: error: expected ')' before 'TSRMLS_CC' zend_declare_property_long(solr_ce_SolrCollapseFunction, SOLR_INDEX_PROPERTY_NAME, sizeof(SOLR_INDEX_PROPERTY_NAME)-1, 0l, ZEND_ACC_PROTECTED TSRMLS_CC); --- src/php7/php_solr_query.lo --- #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2933:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2935:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2935:3: error: too few arguments to function 'php_error_docref' --- src/php7/php_solr_client.lo --- *** [src/php7/php_solr_client.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr.lo --- ^~~~~~~~~ --- src/php7/php_solr_query.lo --- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2940:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMinDocFrequency': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2953:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2953:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2955:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2955:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2960:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2962:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2962:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2967:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMinWordLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2980:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2980:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2982:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2982:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2987:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2989:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2989:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:2994:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMaxWordLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3007:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3007:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3009:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3009:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3014:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3016:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3016:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3021:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMaxNumTokens': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3034:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3034:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3036:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3036:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3041:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3043:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3043:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3048:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltMaxNumQueryTerms': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3061:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3061:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3063:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3063:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3068:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3070:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3070:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3075:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setMltBoost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3089:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3089:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3091:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3091:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3100:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3102:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3102:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3107:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTerms': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3125:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3125:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3127:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3127:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3136:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3138:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3138:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3143:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3156:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3156:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3158:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3158:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3163:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3165:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3165:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3170:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsLowerBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3184:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3184:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3186:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3186:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3191:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3193:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3193:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3198:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsUpperBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3212:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3212:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3214:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3214:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3219:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3221:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3221:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3226:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsIncludeLowerBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3240:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3240:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3242:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3242:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3251:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3253:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3253:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3258:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsIncludeUpperBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3272:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3272:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3274:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3274:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3283:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3285:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3285:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3290:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsMinCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3304:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3304:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3306:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3306:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3311:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3313:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3313:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3318:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsMaxCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3332:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3332:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3334:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3334:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3339:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3341:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3341:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3346:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsPrefix': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3360:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3360:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3362:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3362:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3367:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3369:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3369:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3374:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3387:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3387:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3389:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3389:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3394:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, param_value, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3396:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3396:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s", param_name, param_value); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3401:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsReturnRaw': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3415:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3415:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &bool_flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3417:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3417:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3426:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, bool_flag_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3428:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3428:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, bool_flag_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3433:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_setTermsSort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3447:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &sort_type) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3447:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &sort_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3449:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3449:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:738:176: error: expected ')' before 'TSRMLS_CC' #define solr_set_normal_param(objptr, pname, pname_length, pvalue, pvalue_length) solr_add_or_set_normal_param((objptr), (pname), (pname_length), (pvalue), (pvalue_length), 0 TSRMLS_CC) ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3457:6: note: in expansion of macro 'solr_set_normal_param' if (solr_set_normal_param(getThis(), param_name, param_name_len, sort_type_str, param_value_len) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3459:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, sort_type_str); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3459:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error setting parameter %s=%s ", param_name, sort_type_str); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3464:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3481:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3481:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3483:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3483:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3488:2: warning: implicit declaration of function 'solr_delete_simple_list_param_value'; did you mean 'solr_simple_list_param_value_free'? [-Wimplicit-function-declaration] solr_delete_simple_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_simple_list_param_value_free /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3488:98: error: expected ')' before 'TSRMLS_CC' solr_delete_simple_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3490:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeSortField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3504:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3504:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3506:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3506:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3511:95: error: expected ')' before 'TSRMLS_CC' solr_delete_arg_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3513:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeFilterQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3527:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3527:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3529:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3529:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3534:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3536:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeFacetField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3550:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3550:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3552:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3552:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3557:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3559:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeFacetQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3573:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3573:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3575:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3575:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3580:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3582:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeFacetDateField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3596:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3596:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3598:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3598:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3603:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3605:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeFacetDateOther': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3625:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3625:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¶m_value, ¶m_value_len, &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3627:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3627:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3634:92: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), fbuf.str, fbuf.len, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3638:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeHighlightField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3651:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3651:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3653:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3653:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3658:98: error: expected ')' before 'TSRMLS_CC' solr_delete_simple_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3660:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeStatsField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3673:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3673:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3675:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3675:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3680:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3682:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeStatsFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3695:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3695:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3697:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3697:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3702:93: error: expected ')' before 'TSRMLS_CC' solr_delete_normal_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3704:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeMltField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3717:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3717:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3719:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3719:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3724:98: error: expected ')' before 'TSRMLS_CC' solr_delete_simple_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3726:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_removeMltQueryField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3739:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3739:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", ¶m_value, ¶m_value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3741:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3741:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3746:95: error: expected ')' before 'TSRMLS_CC' solr_delete_arg_list_param_value(getThis(), pname, pname_length, param_value, param_value_len TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:866, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/solr_macros.h:121:64: error: expected ')' before 'TSRMLS_DC' solr_set_return_solr_params_object(return_value, getThis() TSRMLS_DC); \ ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3748:2: note: in expansion of macro 'solr_return_solr_params_object' solr_return_solr_params_object(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getQuery': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3764:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getStart': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3781:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getRows': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3798:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3815:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getSortFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3834:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFilterQueries': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3854:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTimeAllowed': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3873:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacet': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3890:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3907:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetQueries': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3926:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetPrefix': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3954:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3954:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3956:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3956:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3963:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetSort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3998:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:3998:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4000:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4000:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4007:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4042:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4042:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4044:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4044:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4051:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetOffset': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4086:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4086:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4088:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4088:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4095:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetMinCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4130:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4130:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4132:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4132:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4139:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetMissing': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4174:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4174:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /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, ...); ^~~~~~~~~~~~~~~~~~~~~ --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1228:5: warning: implicit declaration of function 'solr_collapse_function_register_class_constants'; did you mean 'php_output_register_constants'? [-Wimplicit-function-declaration] solr_collapse_function_register_class_constants(solr_ce_SolrCollapseFunction TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_output_register_constants /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1228:81: error: expected ')' before 'TSRMLS_CC' solr_collapse_function_register_class_constants(solr_ce_SolrCollapseFunction TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1232:57: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrResponse = zend_register_internal_class(&ce TSRMLS_CC); --- src/php7/php_solr_query.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4176:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4176:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4183:116: error: expected ')' before 'TSRMLS_CC' --- src/php7/php_solr.lo --- ^~~~~~~~~~ ) --- src/php7/php_solr_query.lo --- if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetMethod': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4218:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4218:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4220:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4220:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, --- src/php7/php_solr.lo --- /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1236:2: warning: implicit declaration of function 'solr_response_register_class_properties'; did you mean 'solr_response_get_response_impl'? [-Wimplicit-function-declaration] solr_response_register_class_properties(solr_ce_SolrResponse TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solr_response_get_response_impl /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1236:62: error: expected ')' before 'TSRMLS_CC' solr_response_register_class_properties(solr_ce_SolrResponse TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1239:2: warning: implicit declaration of function 'solr_response_register_class_constants'; did you mean 'zend_register_long_constant'? [-Wimplicit-function-declaration] solr_response_register_class_constants(solr_ce_SolrResponse TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_register_long_constant /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1239:61: error: expected ')' before 'TSRMLS_CC' solr_response_register_class_constants(solr_ce_SolrResponse TSRMLS_CC); ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1263:54: error: expected ')' before 'TSRMLS_CC' solr_ce_SolrUtils = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:136:30: error: too many arguments to function 'zend_exception_get_default' #define solr_ce_Exception zend_exception_get_default(TSRMLS_C) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1268:63: note: in expansion of macro 'solr_ce_Exception' solr_ce_SolrException = zend_register_internal_class_ex(&ce, solr_ce_Exception); ^~~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:50, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:21: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1270:2: warning: implicit declaration of function 'solr_exception_register_class_properties' [-Wimplicit-function-declaration] solr_exception_register_class_properties(solr_ce_SolrException TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.c:1270:64: error: expected ')' before 'TSRMLS_CC' solr_exception_register_class_properties(solr_ce_SolrException TSRMLS_CC); ^~~~~~~~~~ ) *** [src/php7/php_solr.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 --- src/php7/php_solr_query.lo --- from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4227:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4253:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateStart': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4281:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4281:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4283:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4283:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4290:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateEnd': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4325:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4325:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4327:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4327:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4334:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateGap': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4369:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4369:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4371:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4371:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4378:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateHardEnd': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4413:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4413:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4415:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4415:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4422:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getFacetDateOther': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4457:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4457:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4459:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4459:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4466:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlight': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4494:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4511:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightSnippets': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4539:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4539:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4541:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4541:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4548:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightFragsize': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4583:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4583:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4585:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4585:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4592:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightMergeContiguous': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4627:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4627:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4629:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4629:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4636:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightRequireFieldMatch': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4662:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightMaxAnalyzedChars': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4679:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightAlternateField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4705:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4705:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4707:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4707:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4714:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightMaxAlternateFieldLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4749:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4749:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4751:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4751:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4758:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightFormatter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4793:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4793:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4795:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4795:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4802:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightSimplePre': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4837:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4837:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4839:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4839:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4846:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightSimplePost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4881:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4881:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4883:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4883:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4890:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightFragmenter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4925:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4925:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &field_name, &field_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4927:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4927:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameters"); ^~~~~~~~~~~~~~~~ In file included from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr.h:26, from /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:21: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4934:116: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), field_override_buffer.str, field_override_buffer.len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightUsePhraseHighlighter': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4960:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightHighlightMultiTerm': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4977:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightRegexSlop': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:4994:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightRegexPattern': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5011:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getHighlightRegexMaxAnalyzedChars': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5028:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getStats': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5045:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getStatsFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5062:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getStatsFacets': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5081:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMlt': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5100:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5117:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5134:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltQueryFields': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5153:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMinTermFrequency': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5172:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMinDocFrequency': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5189:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMinWordLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5206:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMaxWordLength': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5223:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMaxNumTokens': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5240:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltMaxNumQueryTerms': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5257:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getMltBoost': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5274:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTerms': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5291:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsField': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5308:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsLowerBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5325:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsUpperBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5342:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsIncludeLowerBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5359:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsIncludeUpperBound': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5376:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsMinCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5393:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsMaxCount': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5410:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsPrefix': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5427:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsLimit': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5444:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsReturnRaw': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5461:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c: In function 'zim_SolrQuery_getTermsSort': /construction/www/pecl-solr/solr-2.5.0/src/php7/php_solr_query.c:5478:90: error: expected ')' before 'TSRMLS_CC' if (solr_param_find(getThis(), param_name, param_name_len, (solr_param_t **) &solr_param TSRMLS_CC) == FAILURE) { ^~~~~~~~~~ ) *** [src/php7/php_solr_query.lo] Error code 1 make[1]: stopped in /construction/www/pecl-solr/solr-2.5.0 10 errors make[1]: stopped in /construction/www/pecl-solr/solr-2.5.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/www/pecl-solr FAILED 00:00:03