php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71084 Does not compile for PHP 7.0.0
Submitted: 2015-12-10 18:46 UTC Modified: -
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: jrpozo at conclase dot net Assigned:
Status: Open Package: yaz (PECL)
PHP Version: 7.0.0 OS: Linux Centos release 6.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-12-10 18:46 UTC] jrpozo at conclase dot net
Description:
------------
Extension does not compile for PHP 7.0.0

Actual result:
--------------
./configure --with-php-config=/usr/local/php-7.0.0/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php-7.0.0
checking for PHP includes... -I/usr/local/php-7.0.0/include/php -I/usr/local/php-7.0.0/include/php/main -I/usr/local/php-7.0.0/include/php/TSRM -I/usr/local/php-7.0.0/include/php/Zend -I/usr/local/php-7.0.0/include/php/ext -I/usr/local/php-7.0.0/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php-7.0.0/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/local/php-7.0.0/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 YAZ support... yes, shared
checking for yaz-config... /usr/bin/yaz-config
checking for YAZ version... 5.15.1
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
root@upupa [/usr/local/src/php/local/yaz-1.1.9]# make
/bin/sh /usr/local/src/php/local/yaz-1.1.9/libtool --mode=compile cc  -I. -I/usr/local/src/php/local/yaz-1.1.9 -DPHP_ATOM_INC -I/usr/local/src/php/local/yaz-1.1.9/include -I/usr/local/src/php/local/yaz-1.1.9/main -I/usr/local/src/php/local/yaz-1.1.9 -I/usr/local/php-7.0.0/include/php -I/usr/local/php-7.0.0/include/php/main -I/usr/local/php-7.0.0/include/php/TSRM -I/usr/local/php-7.0.0/include/php/Zend -I/usr/local/php-7.0.0/include/php/ext -I/usr/local/php-7.0.0/include/php/ext/date/lib -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/php/local/yaz-1.1.9/php_yaz.c -o php_yaz.lo
mkdir .libs
 cc -I. -I/usr/local/src/php/local/yaz-1.1.9 -DPHP_ATOM_INC -I/usr/local/src/php/local/yaz-1.1.9/include -I/usr/local/src/php/local/yaz-1.1.9/main -I/usr/local/src/php/local/yaz-1.1.9 -I/usr/local/php-7.0.0/include/php -I/usr/local/php-7.0.0/include/php/main -I/usr/local/php-7.0.0/include/php/TSRM -I/usr/local/php-7.0.0/include/php/Zend -I/usr/local/php-7.0.0/include/php/ext -I/usr/local/php-7.0.0/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php/local/yaz-1.1.9/php_yaz.c  -fPIC -DPIC -o .libs/php_yaz.o
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘get_assoc’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:191: error: expected expression before ‘Yaz_Association’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘array_lookup_string’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:216: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:154: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:216: error: too many arguments to function ‘zend_hash_find’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:217: warning: initialization from incompatible pointer type
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:219: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘array_lookup_long’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:228: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:154: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:228: error: too many arguments to function ‘zend_hash_find’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:229: warning: initialization from incompatible pointer type
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘array_lookup_bool’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:240: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:154: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:240: error: too many arguments to function ‘zend_hash_find’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:241: warning: initialization from incompatible pointer type
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_connect’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:335: warning: initialization makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:361: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_types.h:326: note: expected ‘const struct zval *’ but argument is of type ‘struct zval **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:361: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_types.h:326: note: expected ‘const struct zval *’ but argument is of type ‘struct zval **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:361: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_operators.h:243: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:362: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:363: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_close’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:480: warning: passing argument 1 of ‘zend_list_delete’ makes pointer from integer without a cast
/usr/local/php-7.0.0/include/php/Zend/zend_list.h:59: note: expected ‘struct zend_resource *’ but argument is of type ‘zend_long’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_wait’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:595: warning: assignment makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:639: error: lvalue required as left operand of assignment
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_error’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:691: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:692: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:692: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:693: error: ‘zval’ has no member named ‘type’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_addinfo’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:714: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:715: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:715: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:716: error: ‘zval’ has no member named ‘type’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:751:25: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_hits’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:750: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:750: error: (Each undeclared identifier is reported only once
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:750: error: for each function it appears in.)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:775:32: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:786:32: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:792:32: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:798:32: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1131:56: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘retval_array3_grs1’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1131: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1149:13: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1157:43: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1157: error: ‘ZVAL_STRING’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1184:66: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘retval_array2_grs1’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1184: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1193:59: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘retval_array1_grs1’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1264: error: too many arguments to function ‘add_next_index_string’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1271: error: too many arguments to function ‘add_next_index_string’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1287:94: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1287: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_record’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1377: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1378: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1379: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1380: error: ‘zval’ has no member named ‘type’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_set_option’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1477: warning: assignment makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1479: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:171: note: expected ‘HashPosition *’ but argument is of type ‘void **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1479: error: too many arguments to function ‘zend_hash_get_current_data_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1485: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘struct zend_string **’ but argument is of type ‘char **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1485: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘HashPosition *’ but argument is of type ‘ulong *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1485: error: too many arguments to function ‘zend_hash_get_current_key_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1492: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_get_option’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1535: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1536: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1536: error: request for member ‘len’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1537: error: ‘zval’ has no member named ‘type’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_itemorder’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1614: warning: passing argument 3 of ‘ZOOM_options_set_callback’ makes pointer from integer without a cast
/usr/include/yaz/zoom.h:374: note: expected ‘void *’ but argument is of type ‘int’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_es’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1644: warning: passing argument 3 of ‘ZOOM_options_set_callback’ makes pointer from integer without a cast
/usr/include/yaz/zoom.h:374: note: expected ‘void *’ but argument is of type ‘int’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_scan’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1677: warning: assignment makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1714:69: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_es_result’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1714: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1719:66: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_scan_result’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1772: error: too many arguments to function ‘add_next_index_string’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1775: error: too many arguments to function ‘add_next_index_stringl’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1777: error: too many arguments to function ‘add_next_index_string’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1784: error: too many arguments to function ‘add_next_index_stringl’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1786: error: too many arguments to function ‘add_next_index_string’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1789:95: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1789: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_ccl_conf’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1829: warning: initialization makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1838: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:171: note: expected ‘HashPosition *’ but argument is of type ‘void **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1838: error: too many arguments to function ‘zend_hash_get_current_data_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1843: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘struct zend_string **’ but argument is of type ‘char **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1843: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘HashPosition *’ but argument is of type ‘ulong *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1843: error: too many arguments to function ‘zend_hash_get_current_key_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1850: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1890:44: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_ccl_parse’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1889: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1920:64: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1921:62: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1928:55: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1927: error: ‘add_assoc_stringl’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1974:40: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_cql_parse’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1973: error: ‘add_assoc_string’ undeclared (first use in this function)
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1982:43: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:1994:36: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2005:49: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2010:44: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zif_yaz_cql_conf’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2042: warning: initialization makes pointer from integer without a cast
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2051: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:171: note: expected ‘HashPosition *’ but argument is of type ‘void **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2051: error: too many arguments to function ‘zend_hash_get_current_data_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2056: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘struct zend_string **’ but argument is of type ‘char **’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2056: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type
/usr/local/php-7.0.0/include/php/Zend/zend_hash.h:168: note: expected ‘HashPosition *’ but argument is of type ‘ulong *’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2056: error: too many arguments to function ‘zend_hash_get_current_key_ex’
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2064: error: request for member ‘val’ in something not a structure or union
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: At top level:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2118: error: expected ‘)’ before ‘*’ token
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c: In function ‘zm_startup_yaz’:
/usr/local/src/php/local/yaz-1.1.9/php_yaz.c:2188: error: ‘yaz_close_link’ undeclared (first use in this function)
make: *** [php_yaz.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-21 14:53 UTC] adam at indexdata dot dk
Fixed with the release of version 1.2.0
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 19 14:01:26 2019 UTC