Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-newt.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-php73-armhfp-e8c4b6b1f03505b4e61d4f98917aa5ae7e9da811/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-newt.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 sh: line 0: fg: no job control sh: line 0: fg: no job control Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-pecl-newt-1.2.9-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-newt.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-php73-armhfp-e8c4b6b1f03505b4e61d4f98917aa5ae7e9da811/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-newt.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.7wqn8m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-newt-1.2.9 + /usr/bin/mkdir -p php-pecl-newt-1.2.9 + cd php-pecl-newt-1.2.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/newt-1.2.9.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + mv newt-1.2.9 NTS + cd NTS ++ sed -n '/#define PHP_NEWT_VERSION/{s/.* "//;s/".*$//;p}' php_newt.h + extver=1.2.9 + test x1.2.9 '!=' x1.2.9 + cd .. + cp -pr NTS ZTS + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GbMziJ + umask 022 + cd /builddir/build/BUILD + cd php-pecl-newt-1.2.9 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + 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/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/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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-libdir=lib --with-php-config=/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-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 whether cc understands -c and -o together... yes 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... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for newt support... yes, shared checking for the location of libcurses... no checking for the location of libslang... no checking for newt files in default path... found in /usr checking for newtInit in -lnewt... yes checking for newtListitem in -lnewt... no checking for newtListitemSet in -lnewt... no checking for newtListitemGetData in -lnewt... no checking for newtResizeScreen in -lnewt... yes checking for newtListboxItemCount in -lnewt... yes checking for newtSetHelpCallback in -lnewt... yes checking for newtCursorOff in -lnewt... yes checking for newtCursorOn in -lnewt... yes checking for newtCheckboxTreeGetCurrent in -lnewt... yes checking for newtCheckboxTreeSetCurrent in -lnewt... yes checking for newtCheckboxTreeSetEntry in -lnewt... yes checking for newtCheckboxTreeSetWidth in -lnewt... yes checking for newtCheckboxTreeGetEntryValue in -lnewt... yes checking for newtCheckboxTreeSetEntryValue in -lnewt... yes checking for newtFormSetTimer in -lnewt... yes checking if newtExistStruct has u.watch... 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: 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/php-pecl-newt-1.2.9/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/include -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/main -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -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/php-pecl-newt-1.2.9/NTS/newt.c -o newt.lo /bin/sh /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/include -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/main -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -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/php-pecl-newt-1.2.9/NTS/newt_vcall.c -o newt_vcall.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/include -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/main -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -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/php-pecl-newt-1.2.9/NTS/newt_vcall.c -fPIC -DPIC -o .libs/newt_vcall.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/include -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/main -I/builddir/build/BUILD/php-pecl-newt-1.2.9/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -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/php-pecl-newt-1.2.9/NTS/newt.c -fPIC -DPIC -o .libs/newt.o In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt_vcall.c:21: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:548: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 /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:548: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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'php_newt_free_cb': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:335:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&cb->callback); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c:336:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&cb->data); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'php_newt_fetch_resource': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:346:2: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry *le; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:354:4: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL (rsrc); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:358:69: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data (&EG(regular_list), (void **) &le) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:358:9: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (&EG(regular_list), (void **) &le) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:358:9: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:359:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] zend_hash_get_current_key_ex(&EG(regular_list), &key, &key_len, &rsrc_id, 0, NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:214: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/php-pecl-newt-1.2.9/NTS/newt.c:359:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] zend_hash_get_current_key_ex(&EG(regular_list), &key, &key_len, &rsrc_id, 0, NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:214: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/php-pecl-newt-1.2.9/NTS/newt.c:359:3: error: too many arguments to function 'zend_hash_get_current_key_ex' zend_hash_get_current_key_ex(&EG(regular_list), &key, &key_len, &rsrc_id, 0, NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:214: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); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:360:8: error: request for member 'type' in something not a structure or union if(le->type == le_type && le->ptr == data) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:360:31: error: request for member 'ptr' in something not a structure or union if(le->type == le_type && le->ptr == data) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:362:20: error: lvalue required as left operand of assignment Z_TYPE_P (rsrc) = IS_RESOURCE; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'newt_comp_callback_wrapper': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:617:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:617:2: error: too many arguments to function 'zend_hash_find' PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:626:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function(EG(function_table), NULL, cb->callback, &retval, 2, args TSRMLS_CC) == SUCCESS) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c:631:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[0]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'newt_entry_filter_callback_wrapper': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:646:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:646:2: error: too many arguments to function 'zend_hash_find' PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:658:38: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING (args[2], (char*)&ch, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:658:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING (args[2], (char*)&ch, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:667:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function(EG(function_table), NULL, cb->callback, &retval, 4, args TSRMLS_CC) == FAILURE ) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c:678:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[0]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c:679:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[2]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c:680:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[3]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'newt_suspend_callback_wrapper': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:697:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:697:2: error: too many arguments to function 'zend_hash_find' PHP_NEWT_FETCH_CALLBACK (cb_key, cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:702:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function(EG(function_table), NULL, cb->callback, &retval, 1, args TSRMLS_CC) == SUCCESS) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'newt_help_callback_wrapper': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:721:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] PHP_NEWT_FETCH_CALLBACK ("php_newt_help_cb_key", cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:721:2: error: too many arguments to function 'zend_hash_find' PHP_NEWT_FETCH_CALLBACK ("php_newt_help_cb_key", cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:729:31: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING (args[1], help, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:729:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING (args[1], help, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:731:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function(EG(function_table), NULL, cb->callback, &retval, 2, args TSRMLS_CC) == SUCCESS) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c:737:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[0]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c:738:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor (&args[1]); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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/php-pecl-newt-1.2.9/NTS/newt.c: In function 'newt_call_php_function': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:750:39: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(z_func_name, func_name, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:750:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(z_func_name, func_name, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:752:2: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function_ex(EG(function_table), NULL, z_func_name, ret_val, argc, args, 0, NULL TSRMLS_CC) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c:752:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] if (call_user_function_ex(EG(function_table), NULL, z_func_name, ret_val, argc, args, 0, NULL TSRMLS_CC) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:469: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/php-pecl-newt-1.2.9/NTS/newt.c:756:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&z_func_name); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /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 /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_set_suspend_callback': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:935:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL (&z_callback); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:936:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:936:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:936:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:939:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (!zend_is_callable(z_callback, 0, &cb->func_name TSRMLS_CC)) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:311:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:954:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] PHP_NEWT_STORE_CALLBACK (cb); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:954:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:954:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:954:2: error: too many arguments to function 'zend_hash_update' PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_set_help_callback': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:975:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL (&z_callback); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:976:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:976:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:976:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:979:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (!zend_is_callable(z_callback, 0, &cb->func_name TSRMLS_CC)) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:311:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:991:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] PHP_NEWT_STORE_CALLBACK (cb); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:991:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:991:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:991:2: error: too many arguments to function 'zend_hash_update' PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_compact_button': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1111:2: warning: implicit declaration of function 'ZEND_REGISTER_RESOURCE' [-Wimplicit-function-declaration] ZEND_REGISTER_RESOURCE (return_value, button, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_get_value': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1181:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE' [-Wimplicit-function-declaration] ZEND_FETCH_RESOURCE(checkbox, newtComponent, &z_checkbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1181:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkbox, newtComponent, &z_checkbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1185:28: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(ret_value, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1185:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(ret_value, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1175:7: warning: variable 'ret_value' set but not used [-Wunused-but-set-variable] char ret_value[2]; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_set_value': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1208:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkbox, newtComponent, &z_checkbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_set_flags': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1227:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkbox, newtComponent, &z_checkbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_radiobutton': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1252:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(prev_button, newtComponent, &z_prev_button, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_radio_get_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1274:34: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(set_member, newtComponent, &z_set_member, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_label_set_text': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1413:29: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(label, newtComponent, &z_label, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_scrollbar_set': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1453:33: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(scrollbar, newtComponent, &z_scrollbar, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_get_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1489:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1490:2: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA((ulong) newtListboxGetCurrent (listbox), return_value); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_set_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1507:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_set_current_by_key': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1526:32: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 PHP_NEWT_FETCH_KEY (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:396:10: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (&NEWT_G(data), (void **)&z_data_pnfk) == SUCCESS) { \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1526:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1526:32: error: macro "zend_hash_get_current_key" passed 4 arguments, but takes just 3 PHP_NEWT_FETCH_KEY (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:399:5: error: 'zend_hash_get_current_key' undeclared (first use in this function) zend_hash_get_current_key(&NEWT_G(data), NULL, &key, 0); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1526:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1528:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_set_entry': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1548:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_set_width': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1566:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_set_data': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1587:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1587:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1587:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1587:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1589:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_append_entry': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1610:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1610:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1610:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1610:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1612:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_insert_entry': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1633:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, data_key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1633:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1633:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, data_key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1633:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, data_key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1634:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_key, key_key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1634:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1634:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_key, key_key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1634:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_key, key_key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1636:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_delete_entry': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1655:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1655:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1655:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_key, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1655:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_key, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1657:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_clear': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1674:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_get_entry': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1696:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1702:32: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING (z_text, text, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1702:4: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING (z_text, text, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1707:3: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA (key, z_data); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_get_selection': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1728:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1734:4: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA (retval[i], z_val); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1735:4: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1735:4: error: too many arguments to function 'zend_hash_next_index_insert' zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_clear_selection': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1755:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_select_item': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1775:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_key, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1775:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1775:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_key, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1775:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_key, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1777:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_listbox_item_count': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1795:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(listbox, newtComponent, &z_listbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_get_selection': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1863:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1869:4: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA (retval[i], z_val); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1870:4: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1870:4: error: too many arguments to function 'zend_hash_next_index_insert' zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_get_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1891:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1892:2: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA ((ulong) newtCheckboxTreeGetCurrent (checkboxtree), return_value); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_set_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1911:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1913:33: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:396:10: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (&NEWT_G(data), (void **)&z_data_pnfk) == SUCCESS) { \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1913:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1913:33: error: macro "zend_hash_get_current_key" passed 4 arguments, but takes just 3 PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:399:5: error: 'zend_hash_get_current_key' undeclared (first use in this function) zend_hash_get_current_key(&NEWT_G(data), NULL, &key, 0); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1913:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_get_multi_selection': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1942:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1948:4: error: too many arguments to function 'zend_hash_index_find' PHP_NEWT_FETCH_DATA (retval[i], z_val); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1949:4: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1949:4: error: too many arguments to function 'zend_hash_next_index_insert' zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_add_item': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1977:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1982:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1984:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1984:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1984:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1984:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1993:3: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (Z_TYPE_PP(args[i]) != IS_LONG) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:1999:3: warning: implicit declaration of function 'Z_LVAL_PP' [-Wimplicit-function-declaration] newt_args[i] = (void *)Z_LVAL_PP(args[i]); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_add_array': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2028:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2030:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2030:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2030:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2030:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2037:77: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data (Z_ARRVAL_P(z_indexes), (void **)&z_index) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2037:9: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (Z_ARRVAL_P(z_indexes), (void **)&z_index) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_find_item': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2079:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2081:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2081:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2081:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2081:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2090:4: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref (&z_val); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2091:4: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2091:4: error: too many arguments to function 'zend_hash_next_index_insert' zend_hash_next_index_insert (Z_ARRVAL_P(return_value), &z_val, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2092:4: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL (&z_val); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_set_entry': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2116:37: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkbox_tree, newtComponent, &z_checkbox_tree, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2118:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2118:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2118:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2118:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_set_width': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2138:37: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkbox_tree, newtComponent, &z_checkbox_tree, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_get_entry_value': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:374:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&z_data); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2160:2: note: in expansion of macro 'PHP_NEWT_STORE_DATA' PHP_NEWT_STORE_DATA (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2160:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2160:2: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2160:2: error: too many arguments to function 'zend_hash_next_index_insert' PHP_NEWT_STORE_DATA (z_data, key); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2162:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2166:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING (ret_value, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2166:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING (ret_value, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2153:7: warning: variable 'ret_value' set but not used [-Wunused-but-set-variable] char ret_value[2]; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_checkbox_tree_set_entry_value': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2192:33: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:396:10: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (&NEWT_G(data), (void **)&z_data_pnfk) == SUCCESS) { \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2192:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2192:33: error: macro "zend_hash_get_current_key" passed 4 arguments, but takes just 3 PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:399:5: error: 'zend_hash_get_current_key' undeclared (first use in this function) zend_hash_get_current_key(&NEWT_G(data), NULL, &key, 0); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2192:2: note: in expansion of macro 'PHP_NEWT_FETCH_KEY' PHP_NEWT_FETCH_KEY (z_data, key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2194:36: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(checkboxtree, newtComponent, &z_checkboxtree, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_textbox_set_text': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2264:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(textbox, newtComponent, &z_textbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_textbox_set_height': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2282:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(textbox, newtComponent, &z_textbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_textbox_get_num_lines': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2299:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(textbox, newtComponent, &z_textbox, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_reflow_text': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2332:24: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING (text, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2332:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING (text, 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2353:35: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(vert_bar, newtComponent, &z_vert_bar, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_timer': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2376:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_watch_fd': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2397:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval (stream, &z_stream); ^ In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2400:29: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_size': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2422:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_get_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2439:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_background': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2457:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_current': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2476:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2477:31: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(current, newtComponent, &z_current, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_add_component': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2496:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2497:33: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(component, newtComponent, &z_component, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_add_components': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2517:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2521:84: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data (Z_ARRVAL_P(z_components), (void **)&z_component) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2521:9: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (Z_ARRVAL_P(z_components), (void **)&z_component) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2522:35: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE (component, newtComponent, z_component, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2509:10: warning: unused variable 'z_component' [-Wunused-variable] zval ** z_component; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_height': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2542:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_set_width': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2560:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_run_form': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2577:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_run': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2602:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2607:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update (HASH_OF(z_es), "reason", sizeof("reason"), (void *)&z_reason, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2607:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (HASH_OF(z_es), "reason", sizeof("reason"), (void *)&z_reason, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2607:2: error: too many arguments to function 'zend_hash_update' zend_hash_update (HASH_OF(z_es), "reason", sizeof("reason"), (void *)&z_reason, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2612:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update (HASH_OF(z_es), "watch", sizeof("watch"), (void *)&z_watch, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2612:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (HASH_OF(z_es), "watch", sizeof("watch"), (void *)&z_watch, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2612:2: error: too many arguments to function 'zend_hash_update' zend_hash_update (HASH_OF(z_es), "watch", sizeof("watch"), (void *)&z_watch, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2617:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update (HASH_OF(z_es), "key", sizeof("key"), (void *)&z_key, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2617:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (HASH_OF(z_es), "key", sizeof("key"), (void *)&z_key, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2617:2: error: too many arguments to function 'zend_hash_update' zend_hash_update (HASH_OF(z_es), "key", sizeof("key"), (void *)&z_key, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2621:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update (HASH_OF(z_es), "component", sizeof("component"), (void *)&z_component, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2621:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (HASH_OF(z_es), "component", sizeof("component"), (void *)&z_component, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2621:2: error: too many arguments to function 'zend_hash_update' zend_hash_update (HASH_OF(z_es), "component", sizeof("component"), (void *)&z_component, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_draw_form': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2637:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_add_hot_key': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2655:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_entry_set': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2700:30: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE (entry, newtComponent, &z_entry, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_entry_set_filter': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2722:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL (&z_callback); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2723:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2723:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2723:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2726:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (!zend_is_callable(z_callback, 0, &cb->func_name TSRMLS_CC)) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:311:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2741:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] PHP_NEWT_STORE_CALLBACK (cb); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2741:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2741:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2741:2: error: too many arguments to function 'zend_hash_update' PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2743:29: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(entry, newtComponent, &z_entry, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_entry_get_value': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2760:29: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(entry, newtComponent, &z_entry, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2762:43: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(newtEntryGetValue(entry), 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2762:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(newtEntryGetValue(entry), 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_entry_set_flags': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2780:29: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(entry, newtComponent, &z_entry, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_scale_set': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2820:30: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE (scale, newtComponent, &z_scale, -1, le_newt_comp_name, le_newt_comp); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_component_add_callback': /usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2839:3: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL (&z_callback); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2840:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2840:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2840:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex (&z_callback); ^ In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2846:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (!zend_is_callable(z_callback, 0, &cb->func_name TSRMLS_CC)) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:311:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2861:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] PHP_NEWT_STORE_CALLBACK (cb); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2861:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2861:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2861:2: error: too many arguments to function 'zend_hash_update' PHP_NEWT_STORE_CALLBACK (cb); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2863:33: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(component, newtComponent, &z_component, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_component_takes_focus': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2881:33: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(component, newtComponent, &z_component, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_form_destroy': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2897:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_v_stacked': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2938:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2958:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(element, newtComponent, args[i+1], -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_v_close_stacked': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:2986:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3006:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(element, newtComponent, args[i+1], -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_h_stacked': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3034:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3054:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(element, newtComponent, args[i+1], -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_h_close_stacked': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3082:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3102:32: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(element, newtComponent, args[i+1], -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_basic_window': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3128:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(text, newtComponent, &z_text, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3129:30: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(middle, newtGrid, &z_middle, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3130:31: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(buttons, newtGrid, &z_buttons, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_simple_window': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3150:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(text, newtComponent, &z_text, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3151:30: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(middle, newtComponent, &z_middle, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3152:31: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(buttons, newtGrid, &z_buttons, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_set_field': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3176:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3177:27: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(val, newtComponent, &z_val, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_place': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3195:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_free': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3213:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_get_size': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3232:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_wrapped_window': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3260:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_wrapped_window_at': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3280:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_grid_add_components_to_form': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3299:28: error: expected expression before 'newtGrid' ZEND_FETCH_RESOURCE(grid, newtGrid, &z_grid, -1, le_newt_grid_name, le_newt_grid); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3300:28: error: expected expression before 'newtComponent' ZEND_FETCH_RESOURCE(form, newtComponent, &z_form, -1, le_newt_comp_name, le_newt_comp); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_button_bar': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3331:78: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data (Z_ARRVAL_P(z_buttons), (void **)&z_button) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3331:9: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (Z_ARRVAL_P(z_buttons), (void **)&z_button) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3332:82: error: macro "zend_hash_get_current_key" passed 4 arguments, but takes just 3 if (zend_hash_get_current_key(Z_ARRVAL_P(z_buttons), &button_text, &button_i, 0) == HASH_KEY_IS_STRING) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3332:7: error: 'zend_hash_get_current_key' undeclared (first use in this function) if (zend_hash_get_current_key(Z_ARRVAL_P(z_buttons), &button_text, &button_i, 0) == HASH_KEY_IS_STRING) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3354:4: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref (&z_tmp); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3355:4: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (Z_ARRVAL_P(z_buttons), newt_args[i], strlen(newt_args[i])+1, (void **)&z_tmp, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3355:4: error: too many arguments to function 'zend_hash_update' zend_hash_update (Z_ARRVAL_P(z_buttons), newt_args[i], strlen(newt_args[i])+1, (void **)&z_tmp, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3316:8: warning: unused variable 'button_i' [-Wunused-variable] ulong button_i; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3313:21: warning: unused variable 'z_button' [-Wunused-variable] zval *z_buttons, **z_button; ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_message': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3384:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_messagev': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3415:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_choice': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3446:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_ternary': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3481:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_menu': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3520:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3531:74: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data (Z_ARRVAL_P(z_items), (void **)&z_item) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3531:9: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data (Z_ARRVAL_P(z_items), (void **)&z_item) == SUCCESS) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3538:3: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] items[i++] = Z_STRVAL_PP(z_item); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3538:14: warning: assignment makes pointer from integer without a cast [enabled by default] items[i++] = Z_STRVAL_PP(z_item); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c: In function 'zif_newt_win_entries': /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3605:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (zend_get_parameters_array_ex (argc, args) == FAILURE) { ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_API.h:242:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3617:2: error: too many arguments to function 'zend_hash_index_find' while (zend_hash_index_find (Z_ARRVAL_P(z_items), i, (void **)&z_item) == SUCCESS) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3626:3: warning: implicit declaration of function 'Z_ARRVAL_PP' [-Wimplicit-function-declaration] if(zend_hash_find (Z_ARRVAL_PP(z_item), "text", sizeof("text"), (void **)&z_item_text) == FAILURE) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3626:3: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3626:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "text", sizeof("text"), (void **)&z_item_text) == FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:3626:3: error: too many arguments to function 'zend_hash_find' if(zend_hash_find (Z_ARRVAL_PP(z_item), "text", sizeof("text"), (void **)&z_item_text) == FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3626:90: warning: comparison between pointer and integer [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "text", sizeof("text"), (void **)&z_item_text) == FAILURE) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3632:3: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value) == FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3632:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value) == FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:3632:3: error: too many arguments to function 'zend_hash_find' if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value) == FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3632:93: warning: comparison between pointer and integer [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value) == FAILURE) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3638:3: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] zend_hash_find (Z_ARRVAL_PP(z_item), "flags", sizeof("flags"), (void **)&z_item_flags); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3638:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] zend_hash_find (Z_ARRVAL_PP(z_item), "flags", sizeof("flags"), (void **)&z_item_flags); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:3638:3: error: too many arguments to function 'zend_hash_find' zend_hash_find (Z_ARRVAL_PP(z_item), "flags", sizeof("flags"), (void **)&z_item_flags); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3655:17: warning: assignment makes pointer from integer without a cast [enabled by default] items[i].text = Z_STRVAL_PP(z_item_text); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3656:11: warning: assignment makes pointer from integer without a cast [enabled by default] strs[i] = Z_STRVAL_PP(z_item_value); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3691:3: error: too many arguments to function 'zend_hash_index_find' if (items[i].text && zend_hash_index_find (Z_ARRVAL_P(z_items), i, (void **)&z_item) == SUCCESS) ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3695:4: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value_in) == SUCCESS && PZVAL_IS_REF (*z_item_value_in)) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3695:4: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value_in) == SUCCESS && PZVAL_IS_REF (*z_item_value_in)) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166: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/php-pecl-newt-1.2.9/NTS/newt.c:3695:4: error: too many arguments to function 'zend_hash_find' if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value_in) == SUCCESS && PZVAL_IS_REF (*z_item_value_in)) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3695:4: warning: implicit declaration of function 'PZVAL_IS_REF' [-Wimplicit-function-declaration] if(zend_hash_find (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void **)&z_item_value_in) == SUCCESS && PZVAL_IS_REF (*z_item_value_in)) { ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3697:64: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING (*z_item_value_in, (char *)*(items[i].value), 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3697:5: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING (*z_item_value_in, (char *)*(items[i].value), 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3700:60: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING (z_item_value, (char *)*(items[i].value), 1); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3701:5: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref (&z_item_value); ^ In file included from /usr/include/php/Zend/zend.h:35:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3702:5: warning: passing argument 1 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void *)&z_item_value, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3702:5: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void *)&z_item_value, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3702:5: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void *)&z_item_value, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:3702:5: error: too many arguments to function 'zend_hash_update' zend_hash_update (Z_ARRVAL_PP(z_item), "value", sizeof("value"), (void *)&z_item_value, sizeof(zval *), NULL); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-newt-1.2.9/NTS/newt.c:27: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ make: *** [newt.lo] Error 1 make: *** Waiting for unfinished jobs.... RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GbMziJ (%build) Bad exit status from /var/tmp/rpm-tmp.GbMziJ (%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-newt.spec