Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-riak.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-60d795f92e0a5c8c5a4d5f4963f86bfc886d9524/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-riak.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php74-php-pecl-riak-1.2.0-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-riak.spec"], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-60d795f92e0a5c8c5a4d5f4963f86bfc886d9524/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-riak.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pfgwbA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-riak-1.2.0 + /usr/bin/mkdir -p php74-php-pecl-riak-1.2.0 + cd php74-php-pecl-riak-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/riak-1.2.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv riak-1.2.0 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_RIAK_VERSION/{s/.* "//;s/".*$//;p}' php_riak.h + extver=1.2.0 + test x1.2.0 '!=' x1.2.0 + cd .. + cat + tee 50-riak.ini ; Enable Riak database PHP extension extension=riak.so ; Configuration ;riak.persistent.connections=20 ;riak.persistent.timeout=5 ; Keep sockets alive (recommended) riak.socket.keep_alive=1 ; Socket receive timeout [ms] riak.socket.recv_timeout=10000 ; Socket send timeout [ms] riak.socket.send_timeout=10000 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wEaCyk + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-riak-1.2.0 + cd NTS + /opt/rh/php74/root/usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php74/root/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php74/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php74/root/usr --exec-prefix=/opt/rh/php74/root/usr --bindir=/opt/rh/php74/root/usr/bin --sbindir=/opt/rh/php74/root/usr/sbin --sysconfdir=/etc/opt/rh/php74 --datadir=/opt/rh/php74/root/usr/share --includedir=/opt/rh/php74/root/usr/include --libdir=/opt/rh/php74/root/usr/lib --libexecdir=/opt/rh/php74/root/usr/libexec --localstatedir=/var/opt/rh/php74 --sharedstatedir=/var/opt/rh/php74/lib --mandir=/opt/rh/php74/root/usr/share/man --infodir=/opt/rh/php74/root/usr/share/info --with-php-config=/opt/rh/php74/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc 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... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/php74/root/usr checking for PHP includes... -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php74/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable Riak extension... yes, shared checking whether to enable riak sessions... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) 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... GNU/Linux 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 configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c -o php_riak.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c -o ht_utils.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c -o riak_session.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c -o riak/bucket.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c -fPIC -DPIC -o .libs/php_riak.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c -fPIC -DPIC -o .libs/riak_session.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c -fPIC -DPIC -o .libs/ht_utils.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/protocol -I/builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/LibRiack/src/google/protobuf-c -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c -fPIC -DPIC -o riak/.libs/bucket.o In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c: In function 'foreach_in_hashtable': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:30:9: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] zend_hash_get_current_data_ex(hindex, (void**)&data, &pointer) == SUCCESS; ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:30:9: error: too many arguments to function 'zend_hash_get_current_data_ex' zend_hash_get_current_data_ex(hindex, (void**)&data, &pointer) == SUCCESS; ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:32:9: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] key_type = zend_hash_get_current_key_ex(hindex, &key, &key_len, &index, 0, &pointer); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:32:9: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] key_type = zend_hash_get_current_key_ex(hindex, &key, &key_len, &index, 0, &pointer); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:32:9: error: too many arguments to function 'zend_hash_get_current_key_ex' key_type = zend_hash_get_current_key_ex(hindex, &key, &key_len, &index, 0, &pointer); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/ht_utils.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c:22:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h: At top level: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h:49:33: error: unknown type name 'zend_rsrc_list_entry' void le_riak_connections_pefree(zend_rsrc_list_entry *rsrc TSRMLS_DC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c:23:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:48:1: error: unknown type name 'zend_object_value' zend_object_value create_client_data(zend_class_entry *class_type TSRMLS_DC); ^ make: *** [ht_utils.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:22:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:22, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h: At top level: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h:49:33: error: unknown type name 'zend_rsrc_list_entry' void le_riak_connections_pefree(zend_rsrc_list_entry *rsrc TSRMLS_DC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:22:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:48:1: error: unknown type name 'zend_object_value' zend_object_value create_client_data(zend_class_entry *class_type TSRMLS_DC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:22:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:23: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h: At top level: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/pool.h:49:33: error: unknown type name 'zend_rsrc_list_entry' void le_riak_connections_pefree(zend_rsrc_list_entry *rsrc TSRMLS_DC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:23:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:48:1: error: unknown type name 'zend_object_value' zend_object_value create_client_data(zend_class_entry *class_type TSRMLS_DC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c: In function 'ps_open_riak': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:89:5: warning: passing argument 1 of 'create_client_object' from incompatible pointer type [enabled by default] zclient = create_client_object(purl->host, purl->port TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:23:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/connection.h:43:7: note: expected 'char *' but argument is of type 'struct zend_string *' zval* create_client_object(char* host, long port TSRMLS_DC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:93:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zclient); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:101:5: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(zgetprops); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:115:9: warning: passing argument 1 of '_estrdup' from incompatible pointer type [enabled by default] sapi_module.treat_data(PARSE_STRING, estrdup(purl->query), zoptionsarray TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:30:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_alloc.h:82:31: note: expected 'const char *' but argument is of type 'struct zend_string *' ZEND_API char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:117:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_GET_OPTION_IF_PRESENT("r", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:117:9: error: too many arguments to function 'zend_hash_find' SET_GET_OPTION_IF_PRESENT("r", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:118:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_GET_OPTION_IF_PRESENT("rw", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:118:9: error: too many arguments to function 'zend_hash_find' SET_GET_OPTION_IF_PRESENT("rw", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:119:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_GET_OPTION_IF_PRESENT("pr", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:119:9: error: too many arguments to function 'zend_hash_find' SET_GET_OPTION_IF_PRESENT("pr", zgetprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:121:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_PUT_OPTION_IF_PRESENT("w", zputprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:121:9: error: too many arguments to function 'zend_hash_find' SET_PUT_OPTION_IF_PRESENT("w", zputprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:122:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_PUT_OPTION_IF_PRESENT("dw", zputprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:122:9: error: too many arguments to function 'zend_hash_find' SET_PUT_OPTION_IF_PRESENT("dw", zputprops, zoptionsarray, zoption) ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c: In function 'zm_startup_riak': In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c:130:71: error: 'le_riak_connections_pefree' undeclared (first use in this function) le_riak_connection_list = zend_register_list_destructors_ex(NULL, le_riak_connections_pefree, "Persistent clients", module_number); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak.c:130:71: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:123:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_PUT_OPTION_IF_PRESENT("pw", zputprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:123:9: error: too many arguments to function 'zend_hash_find' SET_PUT_OPTION_IF_PRESENT("pw", zputprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:125:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("r", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:125:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("r", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:126:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("pr", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:126:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("pr", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:127:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("rw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:127:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("rw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:128:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("w", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:128:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("w", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:129:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("dw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:129:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("dw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:130:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SET_DELETE_OPTION_IF_PRESENT("pw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:130:9: error: too many arguments to function 'zend_hash_find' SET_DELETE_OPTION_IF_PRESENT("pw", zdelprops, zoptionsarray, zoption) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:133:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zoptionsarray); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:135:5: warning: passing argument 1 of 'strlen' from incompatible pointer type [enabled by default] stripped_path = php_trim(purl->path, strlen(purl->path), "/", 1, NULL, 3 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/../main/php_config.h:2348:0, from /opt/rh/php74/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php74/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'struct zend_string *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:135:5: warning: passing argument 2 of 'php_trim' makes pointer from integer without a cast [enabled by default] stripped_path = php_trim(purl->path, strlen(purl->path), "/", 1, NULL, 3 TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:32:0: /opt/rh/php74/root/usr/include/php/ext/standard/php_string.h:131:21: note: expected 'char *' but argument is of type 'size_t' PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:135:5: warning: passing argument 3 of 'php_trim' makes integer from pointer without a cast [enabled by default] stripped_path = php_trim(purl->path, strlen(purl->path), "/", 1, NULL, 3 TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:32:0: /opt/rh/php74/root/usr/include/php/ext/standard/php_string.h:131:21: note: expected 'size_t' but argument is of type 'char *' PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:135:5: error: too many arguments to function 'php_trim' stripped_path = php_trim(purl->path, strlen(purl->path), "/", 1, NULL, 3 TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:32:0: /opt/rh/php74/root/usr/include/php/ext/standard/php_string.h:131:21: note: declared here PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:135:19: warning: assignment from incompatible pointer type [enabled by default] stripped_path = php_trim(purl->path, strlen(purl->path), "/", 1, NULL, 3 TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:142:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zbucket); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:143:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zclient); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:144:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zgetprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:145:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zputprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:146:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zdelprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c: In function 'ps_close_riak': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:175:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data->zbucket); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:176:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data->zclient); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:177:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data->zgetprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:178:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data->zputprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:179:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data->zdelprops); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c: In function 'ps_read_riak': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:194:6: error: 'vallen' undeclared (first use in this function) *vallen = 0; ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:194:6: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:197:29: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zkey, key, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:197:5: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zkey, key, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:202:5: warning: implicit declaration of function 'zend_vm_stack_push' [-Wimplicit-function-declaration] RIAK_CALL_METHOD2(RiakBucket, get, zoutput, data->zbucket, zkey, data->zgetprops); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:202:5: warning: passing argument 1 of 'zim_RiakBucket_get' makes pointer from integer without a cast [enabled by default] In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, get); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:202:5: error: too many arguments to function 'zim_RiakBucket_get' RIAK_CALL_METHOD2(RiakBucket, get, zoutput, data->zbucket, zkey, data->zgetprops); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, get); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:202:5: warning: implicit declaration of function 'zend_vm_stack_pop' [-Wimplicit-function-declaration] RIAK_CALL_METHOD2(RiakBucket, get, zoutput, data->zbucket, zkey, data->zgetprops); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:208:9: error: too many arguments to function 'zim_Riak_Output_Output_getObjectList' RIAK_CALL_METHOD(Riak_Output_Output, getObjectList, zobjlist, zoutput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/output/output.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Output_Output, getObjectList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:212:13: error: too many arguments to function 'zim_Riak_Object_List_first' RIAK_CALL_METHOD(Riak_Object_List, first, zobject, zobjlist); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object_list.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Object_List, first); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:214:17: error: too few arguments to function 'zend_read_property' zdata = zend_read_property(riak_object_ce, zobject, "content", sizeof("content")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:215:26: error: 'zval' has no member named 'type' if (zdata->type == IS_STRING && Z_STRLEN_P(zdata) > 0) { ^ make: *** [php_riak.lo] Error 1 /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:221:13: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zobject); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:223:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zobjlist); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:232:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zoutput); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:233:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c: In function 'ps_write_riak': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:241:5: warning: passing argument 1 of 'create_object_object' from incompatible pointer type [enabled by default] zval *zobject = create_object_object(key TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:25:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:25:7: note: expected 'const char *' but argument is of type 'struct zend_string *' zval* create_object_object(const char* key TSRMLS_DC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:246:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zobject); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:251:96: error: 'vallen' undeclared (first use in this function) zend_update_property_stringl(riak_object_ce, zobject, "content", sizeof("content")-1, val, vallen TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:251:5: warning: passing argument 5 of 'zend_update_property_stringl' from incompatible pointer type [enabled by default] zend_update_property_stringl(riak_object_ce, zobject, "content", sizeof("content")-1, val, vallen TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:345:15: note: expected 'const char *' but argument is of type 'struct zend_string *' ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value, size_t value_length); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:252:5: warning: passing argument 1 of 'zim_RiakBucket_put' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(RiakBucket, put, zobject, data->zbucket, zobject, data->zputprops); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, put); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:252:5: error: too many arguments to function 'zim_RiakBucket_put' RIAK_CALL_METHOD2(RiakBucket, put, zobject, data->zbucket, zobject, data->zputprops); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, put); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:253:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zobject); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c: In function 'ps_delete_riak': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:267:5: warning: passing argument 1 of 'create_object_object' from incompatible pointer type [enabled by default] zval *zobject = create_object_object(key TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:25:0: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:25:7: note: expected 'const char *' but argument is of type 'struct zend_string *' zval* create_object_object(const char* key TSRMLS_DC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:269:5: warning: passing argument 1 of 'zim_RiakBucket_delete' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(RiakBucket, delete, zobject, data->zbucket, zobject, data->zdelprops); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'create_bucket_object': In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:35:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, delete); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:154:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(zbucket); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:269:5: error: too many arguments to function 'zim_RiakBucket_delete' RIAK_CALL_METHOD2(RiakBucket, delete, zobject, data->zbucket, zobject, data->zdelprops); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:157:42: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zname, name, name_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:157:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zname, name, name_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:157:5: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:160:2: warning: implicit declaration of function 'zend_vm_stack_push' [-Wimplicit-function-declaration] RIAK_CALL_METHOD2(RiakBucket, __construct, zbucket, zbucket, zclient, zname); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:35:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, delete); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:160:2: warning: passing argument 1 of 'zim_RiakBucket___construct' makes pointer from integer without a cast [enabled by default] /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:270:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zobject); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak_session.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:160:2: error: too many arguments to function 'zim_RiakBucket___construct' RIAK_CALL_METHOD2(RiakBucket, __construct, zbucket, zbucket, zclient, zname); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucket, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:160:2: warning: implicit declaration of function 'zend_vm_stack_pop' [-Wimplicit-function-declaration] RIAK_CALL_METHOD2(RiakBucket, __construct, zbucket, zbucket, zclient, zname); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:162:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zname); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'riak_stream_key_cb': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:196:45: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zkey, key.value, key.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:196:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zkey, key.value, key.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:197:41: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(&zfuncname, "process", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:197:5: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(&zfuncname, "process", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:201:5: warning: passing argument 1 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(NULL, ¶m->zstreamer, &zfuncname, &zret, 1, &zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:463:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:201:5: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(NULL, ¶m->zstreamer, &zfuncname, &zret, 1, &zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:463:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:204:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_getKeyList': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:267:9: error: too many arguments to function 'add_next_index_stringl' add_next_index_stringl(zresultarr, curr->string.value, curr->string.len, 1); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:433:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_counter': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:289:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zkey, key, keylen, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:289:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zkey, key, keylen, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:293:5: warning: passing argument 1 of 'zim_Riak_Crdt_Counter___construct' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(Riak_Crdt_Counter, __construct, NULL, zcounter, getThis(), zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/crdt/counter.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Crdt_Counter, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:293:5: error: too many arguments to function 'zim_Riak_Crdt_Counter___construct' RIAK_CALL_METHOD2(Riak_Crdt_Counter, __construct, NULL, zcounter, getThis(), zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/crdt/counter.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Crdt_Counter, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:295:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zkey); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ make: *** [riak_session.lo] Error 1 /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_index': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:336:9: error: too many arguments to function 'add_next_index_stringl' add_next_index_stringl(zresult, resultlist.strings[i].value, resultlist.strings[i].len, 1); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:433:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_indexQuery': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:370:5: error: too many arguments to function 'zim_Riak_Query_IndexQuery_getName' RIAK_CALL_METHOD(Riak_Query_IndexQuery, getName, zname, zquery); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/query/index_query.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Query_IndexQuery, getName); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:378:9: error: too many arguments to function 'zim_Riak_Input_IndexInput_getMaxResults' RIAK_CALL_METHOD(Riak_Input_IndexInput, getMaxResults, zmaxresults, zinput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/index_input.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_IndexInput, getMaxResults); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:382:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zmaxresults); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:385:9: error: too many arguments to function 'zim_Riak_Input_IndexInput_getContinuation' RIAK_CALL_METHOD(Riak_Input_IndexInput, getContinuation, zcontinuation, zinput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/index_input.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_IndexInput, getContinuation); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:392:5: error: too many arguments to function 'zim_Riak_Query_IndexQuery_isRangeQuery' RIAK_CALL_METHOD(Riak_Query_IndexQuery, isRangeQuery, zisrange, zquery); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/query/index_query.h:32:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Query_IndexQuery, isRangeQuery); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:393:5: warning: implicit declaration of function 'Z_BVAL_P' [-Wimplicit-function-declaration] if (Z_BVAL_P(zisrange)) { ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:396:9: error: too few arguments to function 'zend_read_property' zmin = zend_read_property(riak_index_query_ce, zquery, "minValue", sizeof("minValue")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:397:9: error: too few arguments to function 'zend_read_property' zmax = zend_read_property(riak_index_query_ce, zquery, "maxValue", sizeof("maxValue")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:405:9: error: too few arguments to function 'zend_read_property' zexact = zend_read_property(riak_index_query_ce, zquery, "exactValue", sizeof("exactValue")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:410:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zname); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:411:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zisrange); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:413:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zcontinuation); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'riak_set_riack_commit_hook': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:432:5: error: too many arguments to function 'zim_RiakCommitHook_isJavascript' RIAK_CALL_METHOD(RiakCommitHook, isJavascript, zjs, zhook); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, isJavascript); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:434:9: error: too many arguments to function 'zim_RiakCommitHook_getJsName' RIAK_GET_STR_COPY_TO(RiakCommitHook, getJsName, zhook, hook->name.value, hook->name.len); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, getJsName); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:434:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakCommitHook, getJsName, zhook, hook->name.value, hook->name.len); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:436:9: error: too many arguments to function 'zim_RiakCommitHook_getErlModule' RIAK_GET_STR_COPY_TO(RiakCommitHook, getErlModule, zhook, hook->modfun.module.value, hook->modfun.module.len); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, getErlModule); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:436:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakCommitHook, getErlModule, zhook, hook->modfun.module.value, hook->modfun.module.len); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:437:9: error: too many arguments to function 'zim_RiakCommitHook_getErlFunction' RIAK_GET_STR_COPY_TO(RiakCommitHook, getErlFunction, zhook, hook->modfun.function.value, hook->modfun.function.len); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, getErlFunction); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:437:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakCommitHook, getErlFunction, zhook, hook->modfun.function.value, hook->modfun.function.len); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:439:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zjs); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'riak_set_commit_hooks_properties': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:452:9: error: too many arguments to function 'zim_RiakCommitHookList_count' RIAK_CALL_METHOD(RiakCommitHookList, count, zcount, zhook_list) ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook_list.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHookList, count); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:456:9: error: too many arguments to function 'zim_RiakCommitHookList_getIterator' RIAK_CALL_METHOD(RiakCommitHookList, getIterator, ziter, zhook_list) ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook_list.h:31:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHookList, getIterator); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:465:49: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(&zcurrname, "current", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:465:13: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(&zcurrname, "current", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:466:46: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(&znextname, "next", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:467:48: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(&zvalidname, "valid", 0); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:473:17: warning: passing argument 1 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(NULL, &ziter, &zvalidname, zvalid, 0, NULL TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:463:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:474:41: error: 'IS_BOOL' undeclared (first use in this function) if (Z_TYPE_P(zvalid) == IS_BOOL && Z_BVAL_P(zvalid)) { ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:466:2: error: expected ';' before '_call_user_function_ex' _call_user_function_ex(object, function_name, retval_ptr, param_count, params, 1) ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:477:21: note: in expansion of macro 'call_user_function' call_user_function(NULL, &ziter, &zcurrname, zhook, 0, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:481:25: warning: passing argument 1 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(NULL, &ziter, &znextname, &zret, 0, NULL TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:463:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:483:21: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zhook); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:487:17: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zvalid); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:458:18: warning: unused variable 'zcurrname' [-Wunused-variable] zval zcurrname, znextname, zvalidname; ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:491:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ziter); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:492:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zcount); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_setPropertyList': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:529:5: error: too many arguments to function 'zim_RiakBucketProperties_getNValue' SET_PROPLIST_LONG(getNValue, n_val); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getNValue); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:529:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getNValue, n_val); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:530:5: error: too many arguments to function 'zim_RiakBucketProperties_getAllowMult' SET_PROPLIST_BOOL(getAllowMult, allow_mult); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:31:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getAllowMult); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:509:73: error: 'IS_BOOL' undeclared (first use in this function) if (Z_TYPE_P(ztmp) == IS_BOOL) { \ ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:530:5: note: in expansion of macro 'SET_PROPLIST_BOOL' SET_PROPLIST_BOOL(getAllowMult, allow_mult); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:530:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:533:5: error: too many arguments to function 'zim_RiakBucketProperties_getLastWriteWins' SET_PROPLIST_BOOL(getLastWriteWins, last_write_wins); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getLastWriteWins); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:533:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_BOOL(getLastWriteWins, last_write_wins); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:534:5: error: too many arguments to function 'zim_RiakBucketProperties_getOldVClock' SET_PROPLIST_LONG(getOldVClock, old_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:35:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getOldVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:534:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getOldVClock, old_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:535:5: error: too many arguments to function 'zim_RiakBucketProperties_getYoungVClock' SET_PROPLIST_LONG(getYoungVClock, young_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:37:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getYoungVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:535:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getYoungVClock, young_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:536:5: error: too many arguments to function 'zim_RiakBucketProperties_getSmallVClock' SET_PROPLIST_LONG(getSmallVClock, small_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:39:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getSmallVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:536:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getSmallVClock, small_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:537:5: error: too many arguments to function 'zim_RiakBucketProperties_getBigVClock' SET_PROPLIST_LONG(getBigVClock, big_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:41:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getBigVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:537:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getBigVClock, big_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:539:5: error: too many arguments to function 'zim_RiakBucketProperties_getPR' SET_PROPLIST_LONG(getPR, pr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:45:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getPR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:539:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getPR, pr); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:540:5: error: too many arguments to function 'zim_RiakBucketProperties_getR' SET_PROPLIST_LONG(getR, r); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:43:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:540:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getR, r); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:541:5: error: too many arguments to function 'zim_RiakBucketProperties_getW' SET_PROPLIST_LONG(getW, w); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:47:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:541:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getW, w); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:542:5: error: too many arguments to function 'zim_RiakBucketProperties_getDW' SET_PROPLIST_LONG(getDW, dw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:49:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getDW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:542:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getDW, dw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:543:5: error: too many arguments to function 'zim_RiakBucketProperties_getPW' SET_PROPLIST_LONG(getPW, pw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:51:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getPW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:543:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getPW, pw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:544:5: error: too many arguments to function 'zim_RiakBucketProperties_getRW' SET_PROPLIST_LONG(getRW, rw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:53:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getRW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:544:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_LONG(getRW, rw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:546:5: error: too many arguments to function 'zim_RiakBucketProperties_getBasicQuorum' SET_PROPLIST_BOOL(getBasicQuorum, basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:56:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getBasicQuorum); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:546:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_BOOL(getBasicQuorum, basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:547:5: error: too many arguments to function 'zim_RiakBucketProperties_getNotFoundOk' SET_PROPLIST_BOOL(getNotFoundOk, notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:58:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getNotFoundOk); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:547:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_BOOL(getNotFoundOk, notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:549:5: error: too many arguments to function 'zim_RiakBucketProperties_getSearchEnabled' SET_PROPLIST_BOOL(getSearchEnabled, search); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:60:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getSearchEnabled); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:549:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] SET_PROPLIST_BOOL(getSearchEnabled, search); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:551:5: error: too many arguments to function 'zim_RiakBucketProperties_getBackend' RIAK_GET_STR_COPY_TO(RiakBucketProperties, getBackend, zprop_obj, properties.backend.value, properties.backend.len); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:63:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getBackend); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:551:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakBucketProperties, getBackend, zprop_obj, properties.backend.value, properties.backend.len); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:554:5: error: too many arguments to function 'zim_RiakBucketProperties_getLinkFun' RIAK_CALL_METHOD(RiakBucketProperties, getLinkFun, ztmp, zprop_obj); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:71:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getLinkFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:557:9: error: too many arguments to function 'zim_RiakModuleFunction_getFunction' RIAK_GET_STR_COPY_TO(RiakModuleFunction, getFunction, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, getFunction); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:557:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakModuleFunction, getFunction, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:559:9: error: too many arguments to function 'zim_RiakModuleFunction_getModule' RIAK_GET_STR_COPY_TO(RiakModuleFunction, getModule, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, getModule); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:559:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakModuleFunction, getModule, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:562:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:564:5: error: too many arguments to function 'zim_RiakBucketProperties_getCHashKeyFun' RIAK_CALL_METHOD(RiakBucketProperties, getCHashKeyFun, ztmp, zprop_obj); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:69:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getCHashKeyFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:567:9: error: too many arguments to function 'zim_RiakModuleFunction_getFunction' RIAK_GET_STR_COPY_TO(RiakModuleFunction, getFunction, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, getFunction); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:567:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakModuleFunction, getFunction, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:569:9: error: too many arguments to function 'zim_RiakModuleFunction_getModule' RIAK_GET_STR_COPY_TO(RiakModuleFunction, getModule, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, getModule); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:569:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] RIAK_GET_STR_COPY_TO(RiakModuleFunction, getModule, ztmp, ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:572:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:575:5: error: too many arguments to function 'zim_RiakBucketProperties_getPreCommitHookList' RIAK_CALL_METHOD(RiakBucketProperties, getPreCommitHookList, ztmp, zprop_obj); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:65:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getPreCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:578:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:580:5: error: too many arguments to function 'zim_RiakBucketProperties_getPostCommitHookList' RIAK_CALL_METHOD(RiakBucketProperties, getPostCommitHookList, ztmp, zprop_obj); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:67:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getPostCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:583:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:586:5: error: too many arguments to function 'zim_RiakBucketProperties_getReplicationMode' RIAK_CALL_METHOD(RiakBucketProperties, getReplicationMode, ztmp, zprop_obj); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:73:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, getReplicationMode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:603:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'riak_linkfun_from_riack': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:625:67: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zmod, modfun->module.value, modfun->module.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:625:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zmod, modfun->module.value, modfun->module.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:628:72: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zfunc, modfun->function.value, modfun->function.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:631:5: warning: passing argument 1 of 'zim_RiakModuleFunction___construct' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(RiakModuleFunction, __construct, NULL, zmodfun, zmod, zfunc) ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:631:5: error: too many arguments to function 'zim_RiakModuleFunction___construct' RIAK_CALL_METHOD2(RiakModuleFunction, __construct, NULL, zmodfun, zmod, zfunc) ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/module_function.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakModuleFunction, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:633:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zmod); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:634:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zfunc); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zhook_list_from_riack': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:645:5: error: too many arguments to function 'zim_RiakCommitHookList___construct' RIAK_CALL_METHOD(RiakCommitHookList, __construct, zhook_list, zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook_list.h:25:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHookList, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:659:84: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zname, current_hook->name.value, current_hook->name.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:659:13: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zname, current_hook->name.value, current_hook->name.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:660:13: warning: passing argument 1 of 'zim_RiakCommitHook___construct' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakCommitHook, __construct, zhook, zhook, zname); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:660:13: error: too many arguments to function 'zim_RiakCommitHook___construct' RIAK_CALL_METHOD1(RiakCommitHook, __construct, zhook, zhook, zname); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:661:13: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zname); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:667:105: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zfun, current_hook->modfun.function.value, current_hook->modfun.function.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:668:101: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zmod, current_hook->modfun.module.value, current_hook->modfun.module.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:669:13: warning: passing argument 1 of 'zim_RiakCommitHook___construct' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(RiakCommitHook, __construct, zhook, zhook, zmod, zfun); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:669:13: error: too many arguments to function 'zim_RiakCommitHook___construct' RIAK_CALL_METHOD2(RiakCommitHook, __construct, zhook, zhook, zmod, zfun); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook.h:26:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHook, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:670:13: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zfun); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:671:13: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zmod); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:675:9: warning: passing argument 1 of 'zim_RiakCommitHookList_offsetSet' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD2(RiakCommitHookList, offsetSet, NULL, zhook_list, zoffset, zhook); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook_list.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHookList, offsetSet); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:675:9: error: too many arguments to function 'zim_RiakCommitHookList_offsetSet' RIAK_CALL_METHOD2(RiakCommitHookList, offsetSet, NULL, zhook_list, zoffset, zhook); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/property/commit_hook_list.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakCommitHookList, offsetSet); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:676:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zoffset); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:677:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zhook); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_getPropertyList': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:707:5: error: too many arguments to function 'zim_RiakBucketProperties___construct' RIAK_CALL_METHOD(RiakBucketProperties, __construct, NULL, zbucket_props); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:27:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:709:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setNValue' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setNValue, properties->n_val); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setNValue); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:709:5: error: too many arguments to function 'zim_RiakBucketProperties_setNValue' GET_PROP_SET_ON_LIST(ZVAL_LONG, setNValue, properties->n_val); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setNValue); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:709:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setNValue, properties->n_val); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:710:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setAllowMult' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setAllowMult, properties->allow_mult); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:32:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setAllowMult); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:710:5: error: too many arguments to function 'zim_RiakBucketProperties_setAllowMult' GET_PROP_SET_ON_LIST(ZVAL_BOOL, setAllowMult, properties->allow_mult); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:32:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setAllowMult); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:710:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setAllowMult, properties->allow_mult); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:711:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setLastWriteWins' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setLastWriteWins, properties->last_write_wins); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setLastWriteWins); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:711:5: error: too many arguments to function 'zim_RiakBucketProperties_setLastWriteWins' GET_PROP_SET_ON_LIST(ZVAL_BOOL, setLastWriteWins, properties->last_write_wins); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setLastWriteWins); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:711:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setLastWriteWins, properties->last_write_wins); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:712:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setOldVClock' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setOldVClock, properties->old_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:36:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setOldVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:712:5: error: too many arguments to function 'zim_RiakBucketProperties_setOldVClock' GET_PROP_SET_ON_LIST(ZVAL_LONG, setOldVClock, properties->old_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:36:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setOldVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:712:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setOldVClock, properties->old_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:713:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setYoungVClock' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setYoungVClock, properties->young_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:38:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setYoungVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:713:5: error: too many arguments to function 'zim_RiakBucketProperties_setYoungVClock' GET_PROP_SET_ON_LIST(ZVAL_LONG, setYoungVClock, properties->young_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:38:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setYoungVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:713:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setYoungVClock, properties->young_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:714:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setSmallVClock' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setSmallVClock, properties->small_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:40:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setSmallVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:714:5: error: too many arguments to function 'zim_RiakBucketProperties_setSmallVClock' GET_PROP_SET_ON_LIST(ZVAL_LONG, setSmallVClock, properties->small_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:40:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setSmallVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:714:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setSmallVClock, properties->small_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:715:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setBigVClock' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setBigVClock, properties->big_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:42:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBigVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:715:5: error: too many arguments to function 'zim_RiakBucketProperties_setBigVClock' GET_PROP_SET_ON_LIST(ZVAL_LONG, setBigVClock, properties->big_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:42:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBigVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:715:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setBigVClock, properties->big_vclock); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:717:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setR' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setR, properties->r); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:44:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:717:5: error: too many arguments to function 'zim_RiakBucketProperties_setR' GET_PROP_SET_ON_LIST(ZVAL_LONG, setR, properties->r); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:44:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:717:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setR, properties->r); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:718:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setPR' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setPR, properties->pr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:46:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:718:5: error: too many arguments to function 'zim_RiakBucketProperties_setPR' GET_PROP_SET_ON_LIST(ZVAL_LONG, setPR, properties->pr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:46:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:718:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setPR, properties->pr); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:719:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setW' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setW, properties->w); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:48:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:719:5: error: too many arguments to function 'zim_RiakBucketProperties_setW' GET_PROP_SET_ON_LIST(ZVAL_LONG, setW, properties->w); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:48:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:719:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setW, properties->w); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:720:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setDW' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setDW, properties->dw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:50:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setDW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:720:5: error: too many arguments to function 'zim_RiakBucketProperties_setDW' GET_PROP_SET_ON_LIST(ZVAL_LONG, setDW, properties->dw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:50:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setDW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:720:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setDW, properties->dw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:721:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setPW' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setPW, properties->pw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:52:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:721:5: error: too many arguments to function 'zim_RiakBucketProperties_setPW' GET_PROP_SET_ON_LIST(ZVAL_LONG, setPW, properties->pw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:52:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:721:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setPW, properties->pw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:722:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setRW' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setRW, properties->rw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:54:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setRW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:722:5: error: too many arguments to function 'zim_RiakBucketProperties_setRW' GET_PROP_SET_ON_LIST(ZVAL_LONG, setRW, properties->rw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:54:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setRW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:722:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_LONG, setRW, properties->rw); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:724:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setBasicQuorum' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setBasicQuorum, properties->basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:57:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBasicQuorum); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:724:5: error: too many arguments to function 'zim_RiakBucketProperties_setBasicQuorum' GET_PROP_SET_ON_LIST(ZVAL_BOOL, setBasicQuorum, properties->basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:57:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBasicQuorum); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:724:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setBasicQuorum, properties->basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:725:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setNotFoundOk' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setNotFoundOk, properties->notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:59:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setNotFoundOk); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:725:5: error: too many arguments to function 'zim_RiakBucketProperties_setNotFoundOk' GET_PROP_SET_ON_LIST(ZVAL_BOOL, setNotFoundOk, properties->notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:59:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setNotFoundOk); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:725:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setNotFoundOk, properties->notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:726:5: warning: passing argument 1 of 'zim_RiakBucketProperties_setSearchEnabled' makes pointer from integer without a cast [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setSearchEnabled, properties->search); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:61:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setSearchEnabled); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:726:5: error: too many arguments to function 'zim_RiakBucketProperties_setSearchEnabled' GET_PROP_SET_ON_LIST(ZVAL_BOOL, setSearchEnabled, properties->search); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:61:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setSearchEnabled); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:726:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] GET_PROP_SET_ON_LIST(ZVAL_BOOL, setSearchEnabled, properties->search); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:729:81: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ztmp, properties->backend.value, properties->backend.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:729:9: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ztmp, properties->backend.value, properties->backend.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:730:9: warning: passing argument 1 of 'zim_RiakBucketProperties_setBackend' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setBackend, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:62:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBackend); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:730:9: error: too many arguments to function 'zim_RiakBucketProperties_setBackend' RIAK_CALL_METHOD1(RiakBucketProperties, setBackend, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:62:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setBackend); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:731:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:735:9: warning: passing argument 1 of 'zim_RiakBucketProperties_setLinkFun' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setLinkFun, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:70:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setLinkFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:735:9: error: too many arguments to function 'zim_RiakBucketProperties_setLinkFun' RIAK_CALL_METHOD1(RiakBucketProperties, setLinkFun, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:70:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setLinkFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:736:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:740:9: warning: passing argument 1 of 'zim_RiakBucketProperties_setCHashKeyFun' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setCHashKeyFun, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:68:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setCHashKeyFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:740:9: error: too many arguments to function 'zim_RiakBucketProperties_setCHashKeyFun' RIAK_CALL_METHOD1(RiakBucketProperties, setCHashKeyFun, zbucket_props, zbucket_props, ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:68:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setCHashKeyFun); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:741:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ztmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:746:9: warning: passing argument 1 of 'zim_RiakBucketProperties_setPreCommitHookList' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setPreCommitHookList, zbucket_props, zbucket_props, zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:64:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPreCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:746:9: error: too many arguments to function 'zim_RiakBucketProperties_setPreCommitHookList' RIAK_CALL_METHOD1(RiakBucketProperties, setPreCommitHookList, zbucket_props, zbucket_props, zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:64:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPreCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:747:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:752:9: warning: passing argument 1 of 'zim_RiakBucketProperties_setPostCommitHookList' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setPostCommitHookList, zbucket_props, zbucket_props, zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:66:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPostCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:752:9: error: too many arguments to function 'zim_RiakBucketProperties_setPostCommitHookList' RIAK_CALL_METHOD1(RiakBucketProperties, setPostCommitHookList, zbucket_props, zbucket_props, zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:66:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setPostCommitHookList); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:753:9: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zhook_list); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:777:13: warning: passing argument 1 of 'zim_RiakBucketProperties_setReplicationMode' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakBucketProperties, setReplicationMode, zbucket_props, zbucket_props, zrepclass); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:74:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setReplicationMode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:777:13: error: too many arguments to function 'zim_RiakBucketProperties_setReplicationMode' RIAK_CALL_METHOD1(RiakBucketProperties, setReplicationMode, zbucket_props, zbucket_props, zrepclass); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket_properties.h:74:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakBucketProperties, setReplicationMode); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:778:13: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zrepclass); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_delete': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:826:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getR' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getR, props.r); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:827:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getPR' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getPR, props.pr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getPR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:828:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getRW' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getRW, props.rw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:32:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getRW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:829:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getW' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getW, props.w); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:830:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getDW' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getDW, props.dw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:36:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getDW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:831:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getPW' RIAK_REQ_PROP_SET_LONG(Riak_Input_DeleteInput, zget, getPW, props.pw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:38:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getPW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:833:9: error: too many arguments to function 'zim_Riak_Input_DeleteInput_getVClock' RIAK_CALL_METHOD(Riak_Input_DeleteInput, getVClock, &zget, zinput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/delete_input.h:40:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_DeleteInput, getVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:842:9: error: too many arguments to function 'zim_RiakObject_getKey' RIAK_CALL_METHOD(RiakObject, getKey, &zKey, zparam); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakObject, getKey); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:851:13: error: too many arguments to function 'zim_RiakObject_getVClock' RIAK_CALL_METHOD(RiakObject, getVClock, &zObjVClock, zparam); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:52:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakObject, getVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_put': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:903:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getReturnHead' RIAK_REQ_PROP_SET_BOOL(Riak_Input_PutInput, zget, getReturnHead, props.return_head); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:28:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getReturnHead); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:53:23: error: 'IS_BOOL' undeclared (first use in this function) if (Z_TYPE(ZV) == IS_BOOL && Z_BVAL(ZV)) { TARGET##_use = TARGET = 1; } ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:903:9: note: in expansion of macro 'RIAK_REQ_PROP_SET_BOOL' RIAK_REQ_PROP_SET_BOOL(Riak_Input_PutInput, zget, getReturnHead, props.return_head); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:903:9: warning: implicit declaration of function 'Z_BVAL' [-Wimplicit-function-declaration] /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:904:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getReturnBody' RIAK_REQ_PROP_SET_BOOL(Riak_Input_PutInput, zget, getReturnBody, props.return_body); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:37:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getReturnBody); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:905:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getIfNotModified' RIAK_REQ_PROP_SET_BOOL(Riak_Input_PutInput, zget, getIfNotModified, props.if_not_modified); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:41:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getIfNotModified); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:906:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getIfNoneMatch' RIAK_REQ_PROP_SET_BOOL(Riak_Input_PutInput, zget, getIfNoneMatch, props.if_none_match); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:39:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getIfNoneMatch); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:907:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getW' RIAK_REQ_PROP_SET_LONG(Riak_Input_PutInput, zget, getW, props.w); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getW); ^ RPM build errors: /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:908:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getDW' RIAK_REQ_PROP_SET_LONG(Riak_Input_PutInput, zget, getDW, props.dw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:31:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getDW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:909:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getPW' RIAK_REQ_PROP_SET_LONG(Riak_Input_PutInput, zget, getPW, props.pw); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getPW); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:910:9: error: too many arguments to function 'zim_Riak_Input_PutInput_getVClock' RIAK_CALL_METHOD(Riak_Input_PutInput, getVClock, &zvclock, zinput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/put_input.h:35:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_PutInput, getVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:914:9: error: too many arguments to function 'zim_RiakObject_getVClock' RIAK_CALL_METHOD(RiakObject, getVClock, &zvclock, zObject); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:52:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakObject, getVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:926:5: error: too few arguments to function 'zend_read_property' GET_PROPERTY_INTO_RIACK_STR_OR_ELSE(riak_object_ce, zObject, "key", zTmp, obj.key) { ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:940:80: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zTmp, (char*)returnedObj.key.value, returnedObj.key.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:940:9: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zTmp, (char*)returnedObj.key.value, returnedObj.key.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:947:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zTmp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:882:10: warning: variable 'options' set but not used [-Wunused-but-set-variable] long options; ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_get': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:974:35: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zKey, key, keyLen, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:974:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zKey, key, keyLen, 1); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:979:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getReturnHead' RIAK_REQ_PROP_SET_BOOL(Riak_Input_GetInput, zget, getReturnHead, props.head); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:29:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getReturnHead); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:53:23: error: 'IS_BOOL' undeclared (first use in this function) if (Z_TYPE(ZV) == IS_BOOL && Z_BVAL(ZV)) { TARGET##_use = TARGET = 1; } ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:979:9: note: in expansion of macro 'RIAK_REQ_PROP_SET_BOOL' RIAK_REQ_PROP_SET_BOOL(Riak_Input_GetInput, zget, getReturnHead, props.head); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:980:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getR' RIAK_REQ_PROP_SET_LONG(Riak_Input_GetInput, zget, getR, props.r); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:30:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:981:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getPR' RIAK_REQ_PROP_SET_LONG(Riak_Input_GetInput, zget, getPR, props.pr); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:32:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getPR); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:982:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getBasicQuorum' RIAK_REQ_PROP_SET_BOOL(Riak_Input_GetInput, zget, getBasicQuorum, props.basic_quorum); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:34:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getBasicQuorum); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:983:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getNotFoundOk' RIAK_REQ_PROP_SET_BOOL(Riak_Input_GetInput, zget, getNotFoundOk, props.notfound_ok); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:36:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getNotFoundOk); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:984:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getReturnDeletedVClock' RIAK_REQ_PROP_SET_BOOL(Riak_Input_GetInput, zget, getReturnDeletedVClock, props.deletedvclock); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:40:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getReturnDeletedVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:985:9: error: too many arguments to function 'zim_Riak_Input_GetInput_getIfModifiedVClock' RIAK_CALL_METHOD(Riak_Input_GetInput, getIfModifiedVClock, &zget, zinput); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/input/get_input.h:38:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(Riak_Input_GetInput, getIfModifiedVClock); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1006:13: error: too few arguments to function 'zend_read_property' ? zend_read_property(riak_get_resolver_input_ce, zinput, "conflictResolver", sizeof("conflictResolver")-1, 1 TSRMLS_CC) ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1007:13: error: too few arguments to function 'zend_read_property' : zend_read_property(riak_bucket_ce, getThis(), "conflictResolver", sizeof("conflictResolver")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1025:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zKey); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_getName': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1033:5: error: too few arguments to function 'zend_read_property' RIAK_GETTER_STRING(riak_bucket_ce, "name"); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_getConnection': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1040:5: error: too few arguments to function 'zend_read_property' RIAK_GETTER_OBJECT(riak_bucket_ce, "connection"); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'zim_RiakBucket_getConflictResolver': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1048:5: error: too few arguments to function 'zend_read_property' RIAK_GETTER_OBJECT(riak_bucket_ce, "conflictResolver"); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'object_from_riak_content': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1073:2: warning: passing argument 1 of 'zim_RiakObject___construct' makes pointer from integer without a cast [enabled by default] RIAK_CALL_METHOD1(RiakObject, __construct, object, object, key); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: expected 'struct zend_execute_data *' but argument is of type 'int' #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakObject, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1073:2: error: too many arguments to function 'zim_RiakObject___construct' RIAK_CALL_METHOD1(RiakObject, __construct, object, object, key); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:62:23: note: declared here #define ZEND_MN(name) zim_##name ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:63:55: note: in definition of macro 'ZEND_NAMED_FUNCTION' #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:65:58: note: in expansion of macro 'ZEND_MN' #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name)) ^ /opt/rh/php74/root/usr/include/php/main/php.h:382:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/object.h:33:1: note: in expansion of macro 'PHP_METHOD' PHP_METHOD(RiakObject, __construct); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'riak_name_from_bucket': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1083:5: error: too few arguments to function 'zend_read_property' zval *zname = zend_read_property(riak_bucket_ce, bucket, "name", sizeof("name")-1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from ./php_riak_internal.h:26, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.h:21, from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:18: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c: In function 'get_riak_connection': /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1108:5: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [enabled by default] zend_call_method_with_0_params(&zbucket, NULL, NULL, "getConnection", &zclient); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:39:0: /opt/rh/php74/root/usr/include/php/Zend/zend_interfaces.h:40:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* zend_call_method(zval *object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, int param_count, zval* arg1, zval* arg2); ^ /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:1108:5: warning: passing argument 6 of 'zend_call_method' from incompatible pointer type [enabled by default] zend_call_method_with_0_params(&zbucket, NULL, NULL, "getConnection", &zclient); ^ In file included from /builddir/build/BUILD/php74-php-pecl-riak-1.2.0/NTS/riak/bucket.c:39:0: /opt/rh/php74/root/usr/include/php/Zend/zend_interfaces.h:40:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* zend_call_method(zval *object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, int param_count, zval* arg1, zval* arg2); ^ make: *** [riak/bucket.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.wEaCyk (%build) Bad exit status from /var/tmp/rpm-tmp.wEaCyk (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-riak.spec