* Package: dev-libs/redland-bindings-1.0.14.1-r2 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux php python_targets_python2_7 userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking redland-bindings-1.0.14.1.tar.gz to /var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work >>> Source unpacked in /var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work >>> Preparing source in /var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1 ... * econf: updating redland-bindings-1.0.14.1/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating redland-bindings-1.0.14.1/build/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --without-lua --without-perl --without-python --with-php --without-ruby checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/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 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 x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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... yes checking for gnutar... no checking for gtar... no checking for tar... tar checking for lua... lua checking for python... python checking for perl... perl checking for php... php checking for ruby... ruby checking for swig... swig checking for pkg-config... pkg-config checking SWIG support... 3.0.8 - OK but version 2.0.0 is recommended checking Enable LUA API... no checking for php-config... php-config checking PHP Linking... compile '' link '-shared' suffix so checking Enable Perl API... no checking Enable Python API... no checking Python includes... File "", line 1 import sys; print sys.exec_prefix ^ SyntaxError: invalid syntax -I/include/python checking Python libs... File "", line 1 import distutils.sysconfig; print distutils.sysconfig.get_python_lib() ^ SyntaxError: invalid syntax checking Python LDFLAGS... guessed flags: -shared checking Python shared library file extension... .so -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. -e:1:in `
': Use RbConfig instead of obsolete and deprecated Config. checking Ruby installation dir... /usr/lib64/ruby/2.0.0 from Config::CONFIG rubylibdir checking Ruby arch installation dir... /usr/lib64/ruby/2.0.0/x86_64-linux from Config::CONFIG archdir checking Enable PHP API... yes checking Enable Ruby API... no checking for redland... 1.0.17 checking if redland was built with raptor2... yes configure: creating ./config.status config.status: creating Makefile config.status: creating bindings.rdf config.status: creating docs/Makefile config.status: creating perl/Makefile config.status: creating perl/t/Makefile config.status: creating perl/lib/Makefile config.status: creating perl/lib/RDF/Makefile config.status: creating perl/lib/RDF/Redland/Makefile config.status: creating lua/Makefile config.status: creating php/Makefile config.status: creating python/Makefile config.status: creating python/test/Makefile config.status: creating ruby/Makefile config.status: creating ruby/test/Makefile config.status: creating ruby/lib/Makefile config.status: creating ruby/lib/rdf/Makefile config.status: creating ruby/lib/rdf/redland/Makefile config.status: creating ruby/lib/rdf/redland/schemas/Makefile config.status: creating data/Makefile config.status: creating redland-bindings.spec config.status: creating perl/lib/RDF/Redland.pm config.status: creating bindings_config.h config.status: executing depfiles commands config.status: executing libtool commands Redland build summary: Redland: 1.0.17 Language APIs built: php >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1' Making all in php make[2]: Entering directory '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1/php' swig -v -php5 -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -noproxy -module redland -o redland_wrap.c /usr/share/redland/Redland.i Language subdirectory: php Search paths: ./ ./ ./swig_lib/php/ /usr/share/swig/3.0.8/php/ ./swig_lib/ /usr/share/swig/3.0.8/ Preprocessing... Starting language-specific parse... Processing unnamed structs... Processing types... C++ analysis... Generating wrappers... rm -f redland.php x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -UHAVE_CONFIG_H -I/usr/include/rasqal -I/usr/include/raptor2 -I/usr/lib64/php7.0/include/php -I/usr/lib64/php7.0/include/php/main -I/usr/lib64/php7.0/include/php/TSRM -I/usr/lib64/php7.0/include/php/Zend -I/usr/lib64/php7.0/include/php/ext -I/usr/lib64/php7.0/include/php/ext/date/lib -DREDLAND_BINDINGS_VERSION=\"1.0.14.1\" -march=native -O2 -pipe -I/usr/include/rasqal -I/usr/include/raptor2 -march=native -O2 -pipe -fPIC -DPIC redland_wrap.c -c -o redland_wrap.o redland_wrap.c: In function ‘SWIG_landfill’: redland_wrap.c:809:51: error: ‘rsrc’ undeclared (first use in this function) static ZEND_RSRC_DTOR_FUNC(SWIG_landfill) { (void)rsrc; } ^ redland_wrap.c:809:51: note: each undeclared identifier is reported only once for each function it appears in redland_wrap.c: In function ‘SWIG_ZTS_SetPointerZval’: redland_wrap.c:832:7: warning: implicit declaration of function ‘ZEND_REGISTER_RESOURCE’ [-Wimplicit-function-declaration] ZEND_REGISTER_RESOURCE(z, value, *(int *)(type->clientdata)); ^ redland_wrap.c:853:7: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ [-Wimplicit-function-declaration] MAKE_STD_ZVAL(resource); ^ redland_wrap.c:859:36: warning: passing argument 1 of ‘zend_lookup_class’ from incompatible pointer type [-Wincompatible-pointer-types] result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend_API.h:31:0, from redland_wrap.c:723: /usr/lib64/php7.0/include/php/Zend/zend_execute.h:44:28: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’ ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); ^ redland_wrap.c:859:18: error: too many arguments to function ‘zend_lookup_class’ result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend_API.h:31:0, from redland_wrap.c:723: /usr/lib64/php7.0/include/php/Zend/zend_execute.h:44:28: note: declared here ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); ^ redland_wrap.c:859:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, ^ redland_wrap.c:862:36: warning: passing argument 1 of ‘zend_lookup_class’ from incompatible pointer type [-Wincompatible-pointer-types] result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend_API.h:31:0, from redland_wrap.c:723: /usr/lib64/php7.0/include/php/Zend/zend_execute.h:44:28: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’ ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); ^ redland_wrap.c:862:18: error: too many arguments to function ‘zend_lookup_class’ result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend_API.h:31:0, from redland_wrap.c:723: /usr/lib64/php7.0/include/php/Zend/zend_execute.h:44:28: note: declared here ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); ^ redland_wrap.c:862:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS ^ redland_wrap.c:745:30: error: ‘zval {aka struct _zval_struct}’ has no member named ‘is_ref’ # define Z_SET_ISREF_P(z) (z)->is_ref = 1 ^ redland_wrap.c:871:7: note: in expansion of macro ‘Z_SET_ISREF_P’ Z_SET_ISREF_P(z); ^ redland_wrap.c:872:106: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL); ^ redland_wrap.c:872:7: error: ‘zend_hash_update’ undeclared (first use in this function) zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&res ^ redland_wrap.c: In function ‘SWIG_ZTS_ConvertResourcePtr’: redland_wrap.c:927:35: warning: implicit declaration of function ‘zend_list_find’ [-Wimplicit-function-declaration] value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type); ^ redland_wrap.c:927:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type); ^ redland_wrap.c:934:42: warning: passing argument 1 of ‘zend_rsrc_list_get_rsrc_type’ makes pointer from integer without a cast [-Wint-conversion] type_name=zend_rsrc_list_get_rsrc_type(z->value.lval TSRMLS_CC); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend_API.h:28:0, from redland_wrap.c:723: /usr/lib64/php7.0/include/php/Zend/zend_list.h:68:22: note: expected ‘zend_resource * {aka struct _zend_resource *}’ but argument is of type ‘zend_long {aka long int}’ ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res); ^ redland_wrap.c: In function ‘SWIG_ZTS_ConvertPtr’: redland_wrap.c:948:12: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ switch (z->type) { ^ redland_wrap.c:951:37: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types] if (zend_hash_find(HASH_OF(z),(char*)"_cPtr",sizeof("_cPtr"),(void**)&_cP ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:36:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’ ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *k ^ redland_wrap.c:951:11: error: too many arguments to function ‘zend_hash_find’ if (zend_hash_find(HASH_OF(z),(char*)"_cPtr",sizeof("_cPtr"),(void**)&_cP ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:36:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_hash.h:154:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *k ^ redland_wrap.c:952:14: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*_cPtr)->type==IS_RESOURCE) { ^ redland_wrap.c: In function ‘SWIG_Php_GetModule’: redland_wrap.c:978:25: warning: passing argument 1 of ‘zend_get_constant’ from incompatible pointer type [-Wincompatible-pointer-types] if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) ^ In file included from /usr/lib64/php7.0/include/php/main/php.h:396:0, from redland_wrap.c:725: /usr/lib64/php7.0/include/php/Zend/zend_constants.h:68:16: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’ ZEND_API zval *zend_get_constant(zend_string *name); ^ redland_wrap.c:978:7: error: too many arguments to function ‘zend_get_constant’ if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) ^ In file included from /usr/lib64/php7.0/include/php/main/php.h:396:0, from redland_wrap.c:725: /usr/lib64/php7.0/include/php/Zend/zend_constants.h:68:16: note: declared here ZEND_API zval *zend_get_constant(zend_string *name); ^ redland_wrap.c:979:16: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if (pointer->type == IS_LONG) { ^ redland_wrap.c:983:3: warning: implicit declaration of function ‘FREE_ZVAL’ [-Wimplicit-function-declaration] FREE_ZVAL(pointer); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_swig_redland_alter_newobject’: redland_wrap.c:1061:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1065:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_swig_redland_get_newobject’: redland_wrap.c:1076:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1080:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type) ^ In file included from redland_wrap.c:1126:0: ./redland-post.i: In function ‘librdf_php_world_init’: ./redland-post.i:134:29: error: too many arguments to function ‘zend_register_internal_class_ex’ redland_exception_ptr = zend_register_internal_class_ex(&ee_ce, ^ In file included from redland_wrap.c:723:0: /usr/lib64/php7.0/include/php/Zend/zend_API.h:290:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *cl ^ redland_wrap.c: In function ‘_wrap_librdf_new_digest’: redland_wrap.c:1273:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1284:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1287:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1287:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1287:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1288:21: warning: implicit declaration of function ‘Z_STRVAL_PP’ [-Wimplicit-function-declaration] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:1288:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_digest’: redland_wrap.c:1307:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_digest_init’: redland_wrap.c:1329:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_digest_update’: redland_wrap.c:1353:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1364:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1367:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1367:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1367:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1368:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:1374:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:1374:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:1374:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ redland_wrap.c:1375:19: warning: implicit declaration of function ‘Z_LVAL_PP’ [-Wimplicit-function-declaration] arg3 = (size_t) Z_LVAL_PP(args[2]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_digest_update_string’: redland_wrap.c:1392:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1403:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1406:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1406:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1406:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1407:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_digest_final’: redland_wrap.c:1424:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_digest_to_string’: redland_wrap.c:1447:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1461:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:1461:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_hash’: redland_wrap.c:1478:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1489:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1492:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1492:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1492:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1493:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_hash_from_string’: redland_wrap.c:1515:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1526:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1529:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1529:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1529:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1530:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:1536:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1539:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1539:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1539:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1540:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_hash_from_array_of_strings’: redland_wrap.c:1562:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1573:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:1576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:1577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_hash_to_string’: redland_wrap.c:1603:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1622:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:1622:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_hash’: redland_wrap.c:1637:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_free_world’: redland_wrap.c:1677:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_world_open’: redland_wrap.c:1699:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_world_get_feature’: redland_wrap.c:1723:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1735:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_world_set_feature’: redland_wrap.c:1763:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1775:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:1784:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_get_accept_header’: redland_wrap.c:1806:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1820:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:1820:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_world_set_logger’: redland_wrap.c:1838:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:1850:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) arg2=0; ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_iterator’: redland_wrap.c:1874:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_iterator_end’: redland_wrap.c:1897:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_iterator_get_object’: redland_wrap.c:1922:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_iterator_get_context’: redland_wrap.c:1951:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_iterator_next’: redland_wrap.c:1980:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_uri’: redland_wrap.c:2006:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2017:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2021:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_uri_from_uri’: redland_wrap.c:2041:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2048:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_uri_from_filename’: redland_wrap.c:2071:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2082:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2085:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2085:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2085:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2086:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_uri’: redland_wrap.c:2105:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2112:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_uri_to_string’: redland_wrap.c:2132:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2139:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2150:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2150:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_uri_equals’: redland_wrap.c:2167:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2174:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2183:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_uri_compare’: redland_wrap.c:2206:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2213:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2222:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node’: redland_wrap.c:2244:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_node_from_uri_string’: redland_wrap.c:2274:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2285:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2288:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2288:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2288:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2289:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_uri’: redland_wrap.c:2314:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2326:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_uri_local_name’: redland_wrap.c:2354:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2366:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:2374:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2377:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2377:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2377:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2378:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_normalised_uri_string’: redland_wrap.c:2405:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2416:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2419:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2419:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2419:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2420:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:2427:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:2436:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_literal’: redland_wrap.c:2468:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2478:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2481:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2481:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2481:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2482:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:2488:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2491:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2491:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2491:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2492:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:2499:5: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:2499:24: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:2499:5: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_typed_literal’: redland_wrap.c:2530:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2540:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2543:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2543:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2543:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2544:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:2550:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2553:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2553:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2553:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2554:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:2562:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_node’: redland_wrap.c:2589:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2596:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_node_from_blank_identifier’: redland_wrap.c:2626:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2636:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2639:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2639:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:2639:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:2640:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_node’: redland_wrap.c:2664:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2671:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_uri’: redland_wrap.c:2691:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2698:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_type’: redland_wrap.c:2720:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2727:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_literal_value’: redland_wrap.c:2749:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2756:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2767:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2767:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_literal_value_as_latin1’: redland_wrap.c:2782:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2789:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2800:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2800:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_literal_value_language’: redland_wrap.c:2815:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2822:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2833:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2833:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_literal_value_datatype_uri’: redland_wrap.c:2848:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2855:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_literal_value_is_wf_xml’: redland_wrap.c:2877:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2884:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_li_ordinal’: redland_wrap.c:2906:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2913:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_to_string’: redland_wrap.c:2935:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2942:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2948:3: warning: ‘librdf_node_to_string’ is deprecated [-Wdeprecated-declarations] result = (char *)librdf_node_to_string(arg1); ^ In file included from /usr/include/librdf.h:399:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_node.h:171:16: note: declared here unsigned char *librdf_node_to_string(librdf_node* node); ^ redland_wrap.c:2953:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2953:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_get_blank_identifier’: redland_wrap.c:2969:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:2976:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:2987:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:2987:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_is_resource’: redland_wrap.c:3002:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3009:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_is_literal’: redland_wrap.c:3031:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3038:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_is_blank’: redland_wrap.c:3060:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3067:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_node_equals’: redland_wrap.c:3090:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3097:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) ^ redland_wrap.c:3106:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_statement’: redland_wrap.c:3128:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_statement_from_statement’: redland_wrap.c:3153:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_statement_from_nodes’: redland_wrap.c:3181:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3193:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:3202:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:3211:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_statement’: redland_wrap.c:3232:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_get_subject’: redland_wrap.c:3255:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_set_subject’: redland_wrap.c:3284:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3296:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_statement_get_predicate’: redland_wrap.c:3316:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_set_predicate’: redland_wrap.c:3345:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3357:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_statement_get_object’: redland_wrap.c:3377:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_set_object’: redland_wrap.c:3406:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3418:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_statement_equals’: redland_wrap.c:3439:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_match’: redland_wrap.c:3470:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_statement_to_string’: redland_wrap.c:3500:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3509:3: warning: ‘librdf_statement_to_string’ is deprecated [-Wdeprecated-declarations] result = (char *)librdf_statement_to_string(arg1); ^ In file included from /usr/include/librdf.h:401:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_statement.h:115:16: note: declared here unsigned char *librdf_statement_to_string(librdf_statement *statement); ^ redland_wrap.c:3514:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:3514:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_statement_is_complete’: redland_wrap.c:3530:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_model’: redland_wrap.c:3557:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3573:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3576:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:3577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_model_with_options’: redland_wrap.c:3599:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_model_from_model’: redland_wrap.c:3634:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_free_model’: redland_wrap.c:3658:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_size’: redland_wrap.c:3681:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_add’: redland_wrap.c:3709:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3721:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:3730:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:3739:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_add_string_literal_statement’: redland_wrap.c:3769:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3780:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:3789:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:3797:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3800:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3800:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3800:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:3801:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:3807:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3810:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3810:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3810:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:3811:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg5 = (char *) Z_STRVAL_PP(args[4]); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:3818:5: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[5]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:3818:24: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[5]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:3818:5: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[5]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_add_typed_literal_statement’: redland_wrap.c:3847:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:3858:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:3867:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:3875:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3878:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3878:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3878:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:3879:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:3885:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3888:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3888:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:3888:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[4]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:3889:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg5 = (char *) Z_STRVAL_PP(args[4]); ^ redland_wrap.c:3896:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[5])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_add_statement’: redland_wrap.c:3920:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_add_statements’: redland_wrap.c:3951:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_remove_statement’: redland_wrap.c:3982:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_contains_statement’: redland_wrap.c:4013:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_as_stream’: redland_wrap.c:4043:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_find_statements’: redland_wrap.c:4073:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_find_statements_in_context’: redland_wrap.c:4112:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4128:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_sources’: redland_wrap.c:4157:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4169:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4178:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_arcs’: redland_wrap.c:4206:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4218:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4227:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_targets’: redland_wrap.c:4255:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4267:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4276:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_source’: redland_wrap.c:4304:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4316:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4325:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_arc’: redland_wrap.c:4353:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4365:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4374:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_arcs_out’: redland_wrap.c:4401:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4413:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_arcs_in’: redland_wrap.c:4440:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4452:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_has_arc_in’: redland_wrap.c:4480:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4492:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4501:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_has_arc_out’: redland_wrap.c:4525:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4537:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4546:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_target’: redland_wrap.c:4570:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4582:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4591:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_context_add_statement’: redland_wrap.c:4619:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4631:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_context_add_statements’: redland_wrap.c:4660:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4672:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_context_remove_statement’: redland_wrap.c:4701:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4713:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_context_remove_statements’: redland_wrap.c:4741:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4753:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_context_as_stream’: redland_wrap.c:4776:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4788:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_sync’: redland_wrap.c:4813:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_get_contexts’: redland_wrap.c:4836:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_contains_context’: redland_wrap.c:4866:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4878:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_get_feature’: redland_wrap.c:4901:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4913:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_set_feature’: redland_wrap.c:4941:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:4953:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:4962:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_load’: redland_wrap.c:4991:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5002:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:5010:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5013:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5013:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5013:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5014:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5021:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5024:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5024:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5024:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5025:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:5033:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_query_execute’: redland_wrap.c:5057:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_to_string’: redland_wrap.c:5094:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5105:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:5113:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5116:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5116:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5116:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5117:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5124:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5127:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5127:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5127:7: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5128:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:5136:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) ^ redland_wrap.c:5148:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:5148:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_model_transaction_start’: redland_wrap.c:5164:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_transaction_commit’: redland_wrap.c:5189:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_model_transaction_rollback’: redland_wrap.c:5214:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_storage’: redland_wrap.c:5242:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5253:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5256:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5256:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5256:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5257:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5263:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5266:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5266:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5266:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5267:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5273:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5276:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5276:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5276:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5277:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_storage_from_storage’: redland_wrap.c:5297:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_free_storage’: redland_wrap.c:5321:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_parser_check_name’: redland_wrap.c:5345:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5356:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5359:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5359:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5359:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5360:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_parser’: redland_wrap.c:5383:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5394:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5397:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5397:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5397:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5398:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5404:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5407:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5407:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5407:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5408:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5415:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_parser’: redland_wrap.c:5436:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_parser_parse_as_stream’: redland_wrap.c:5464:44: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] zend_get_parameters_array_ex(arg_count,args)!=SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5475:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:5484:21: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_parse_into_model’: redland_wrap.c:5514:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5526:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:5535:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_parse_string_as_stream’: redland_wrap.c:5564:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5575:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5578:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5578:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5578:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5579:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5586:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_parse_string_into_model’: redland_wrap.c:5615:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5626:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5629:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5629:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5629:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5630:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5637:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_parse_counted_string_as_stream’: redland_wrap.c:5667:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5678:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5681:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5681:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5681:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5682:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:5688:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:5688:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:5688:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ redland_wrap.c:5695:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_parse_counted_string_into_model’: redland_wrap.c:5725:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5736:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5739:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5739:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5739:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5740:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:5746:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:5746:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:5746:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ redland_wrap.c:5753:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_get_feature’: redland_wrap.c:5781:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5793:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_set_feature’: redland_wrap.c:5821:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5833:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:5842:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_guess_name’: redland_wrap.c:5866:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5872:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[0])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5875:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[0]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5875:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[0]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5875:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[0]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5876:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg1 = (char *) Z_STRVAL_PP(args[0]); ^ redland_wrap.c:5882:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5885:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5885:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5885:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5886:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5892:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5895:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5895:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5895:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5896:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5900:3: warning: ‘librdf_parser_guess_name’ is deprecated [-Wdeprecated-declarations] result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)ar ^ In file included from /usr/include/librdf.h:404:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_parser.h:111:13: note: declared here const char* librdf_parser_guess_name(const char *mime_type, const unsigned char ^ redland_wrap.c:5905:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:5905:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_guess_name2’: redland_wrap.c:5923:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:5934:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5937:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5937:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5937:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5938:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:5944:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5947:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5947:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5947:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:5954:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5957:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5957:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:5957:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:5958:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:5967:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:5967:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_get_namespaces_seen_prefix’: redland_wrap.c:5983:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:5994:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:5994:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:5994:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ redland_wrap.c:6003:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:6003:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_get_namespaces_seen_uri’: redland_wrap.c:6019:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:6030:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:6030:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:6030:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_parser_get_namespaces_seen_count’: redland_wrap.c:6050:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_new_query’: redland_wrap.c:6079:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6090:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6093:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6093:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6093:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6094:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:6101:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:6109:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6112:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6112:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6112:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[3]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6113:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg4 = (char *) Z_STRVAL_PP(args[3]); ^ redland_wrap.c:6120:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_query_from_query’: redland_wrap.c:6142:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_free_query’: redland_wrap.c:6166:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_execute’: redland_wrap.c:6190:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_get_limit’: redland_wrap.c:6220:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_set_limit’: redland_wrap.c:6246:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:6257:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:6257:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:6257:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_get_offset’: redland_wrap.c:6277:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_set_offset’: redland_wrap.c:6303:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:6314:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:6314:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:6314:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_as_stream’: redland_wrap.c:6334:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_get_count’: redland_wrap.c:6363:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_next’: redland_wrap.c:6388:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_finished’: redland_wrap.c:6413:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_get_binding_value’: redland_wrap.c:6439:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:6450:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:6450:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:6450:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_get_binding_name’: redland_wrap.c:6475:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:408:34: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_long_ex(pzv) convert_to_ex_master(pzv, long, IS_LONG) ^ redland_wrap.c:6486:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: redland_wrap.c:6486:22: warning: passing argument 1 of ‘convert_to_long’ from incompatible pointer type [-Wincompatible-pointer-types] convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:27: note: in definition of macro ‘convert_to_ex_master’ convert_to_##lower_type(pzv); \ ^ redland_wrap.c:6486:3: note: in expansion of macro ‘convert_to_long_ex’ convert_to_long_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:244:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ redland_wrap.c:6495:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:6495:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_get_binding_value_by_name’: redland_wrap.c:6511:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6522:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6525:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6525:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6525:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6526:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_get_bindings_count’: redland_wrap.c:6550:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_to_file’: redland_wrap.c:6578:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6589:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6592:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6592:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6592:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6593:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:6600:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:6609:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ redland_wrap.c:6615:3: warning: ‘librdf_query_results_to_file’ is deprecated [-Wdeprecated-declarations] result = (int)librdf_query_results_to_file(arg1,(char const *)arg2,arg3,arg4) ^ In file included from /usr/include/librdf.h:408:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_query.h:103:5: note: declared here int librdf_query_results_to_file(librdf_query_results *query_results, const cha ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_to_file2’: redland_wrap.c:6635:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6646:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6649:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6649:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6649:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6650:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:6656:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6659:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6659:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6659:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6660:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:6667:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ redland_wrap.c:6676:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_to_string’: redland_wrap.c:6700:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6712:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:6721:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ redland_wrap.c:6727:3: warning: ‘librdf_query_results_to_string’ is deprecated [-Wdeprecated-declarations] result = (char *)librdf_query_results_to_string(arg1,arg2,arg3); ^ In file included from /usr/include/librdf.h:408:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_query.h:95:16: note: declared here unsigned char* librdf_query_results_to_string(librdf_query_results *query_resul ^ redland_wrap.c:6732:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:6732:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_query_results_to_string2’: redland_wrap.c:6752:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6763:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6766:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6766:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6766:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6767:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:6773:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6776:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6776:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6776:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6777:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:6784:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ redland_wrap.c:6793:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[4])->type==IS_NULL) ^ redland_wrap.c:6804:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:6804:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_query_results’: redland_wrap.c:6819:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_is_bindings’: redland_wrap.c:6842:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_is_boolean’: redland_wrap.c:6867:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_is_graph’: redland_wrap.c:6892:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_is_syntax’: redland_wrap.c:6917:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_query_results_get_boolean’: redland_wrap.c:6942:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_serializer_check_name’: redland_wrap.c:6968:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:6979:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6982:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6982:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:6982:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:6983:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_new_serializer’: redland_wrap.c:7006:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7017:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7020:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:7021:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:7027:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7030:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7030:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7030:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:7031:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ redland_wrap.c:7038:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[3])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_serializer’: redland_wrap.c:7059:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_serializer_serialize_stream_to_file’: redland_wrap.c:7085:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7096:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7099:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7099:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7099:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:7100:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:7107:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_serialize_model_to_file’: redland_wrap.c:7137:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7148:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7151:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7151:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7151:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[1]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:7152:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg2 = (char *) Z_STRVAL_PP(args[1]); ^ redland_wrap.c:7159:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_serialize_stream_to_string’: redland_wrap.c:7188:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7200:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:7216:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7216:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_serialize_model_to_string’: redland_wrap.c:7234:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7246:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:7262:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7262:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_get_feature’: redland_wrap.c:7279:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7291:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_set_feature’: redland_wrap.c:7319:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7331:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:7340:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_serializer_set_namespace’: redland_wrap.c:7364:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7376:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[1])->type==IS_NULL) ^ redland_wrap.c:7384:17: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ if ((*args[2])->type==IS_NULL) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:31:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:368:6: note: in expansion of macro ‘Z_TYPE_P’ if (Z_TYPE_P(pzv)!=upper_type) { \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7387:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:336:39: warning: passing argument 1 of ‘zval_get_type’ from incompatible pointer type [-Wincompatible-pointer-types] #define Z_TYPE(zval) zval_get_type(&(zval)) ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:337:28: note: in expansion of macro ‘Z_TYPE’ #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:35: note: in expansion of macro ‘Z_TYPE_P’ #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_stri ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7387:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_types.h:326:38: note: expected ‘const zval * {aka const struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:341:0, from redland_wrap.c:722: /usr/lib64/php7.0/include/php/Zend/zend_operators.h:274:83: warning: passing argument 1 of ‘_convert_to_string’ from incompatible pointer type [-Wincompatible-pointer-types] t_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_F ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:369:3: note: in expansion of macro ‘convert_to_string’ convert_to_##lower_type(pzv); \ ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:410:35: note: in expansion of macro ‘convert_to_ex_master’ #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING) ^ redland_wrap.c:7387:5: note: in expansion of macro ‘convert_to_string_ex’ convert_to_string_ex(args[2]); ^ /usr/lib64/php7.0/include/php/Zend/zend_operators.h:243:29: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ redland_wrap.c:7388:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg3 = (char *) Z_STRVAL_PP(args[2]); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_free_stream’: redland_wrap.c:7407:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_stream_end’: redland_wrap.c:7430:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_stream_next’: redland_wrap.c:7455:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_stream_get_object’: redland_wrap.c:7480:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_stream_get_context’: redland_wrap.c:7505:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7514:3: warning: ‘librdf_stream_get_context’ is deprecated [-Wdeprecated-declarations] result = (librdf_node *)librdf_stream_get_context(arg1); ^ In file included from /usr/include/librdf.h:407:0, from /usr/include/redland.h:30, from redland_wrap.c:1104: /usr/include/rdf_stream.h:98:7: note: declared here void* librdf_stream_get_context(librdf_stream* stream); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_log_message_code’: redland_wrap.c:7534:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_log_message_level’: redland_wrap.c:7559:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_log_message_facility’: redland_wrap.c:7584:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_log_message_message’: redland_wrap.c:7609:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7623:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7623:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_log_message_locator’: redland_wrap.c:7638:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_raptor_locator_line’: redland_wrap.c:7663:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_raptor_locator_column’: redland_wrap.c:7688:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_raptor_locator_byte’: redland_wrap.c:7713:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_raptor_locator_file’: redland_wrap.c:7738:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7752:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7752:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_raptor_locator_uri’: redland_wrap.c:7767:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c:7781:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7781:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_internal_test_error’: redland_wrap.c:7795:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_internal_test_warning’: redland_wrap.c:7817:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_short_copyright_string_get’: redland_wrap.c:7847:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7847:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c: In function ‘_wrap_librdf_copyright_string_get’: redland_wrap.c:7869:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7869:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c: In function ‘_wrap_librdf_version_string_get’: redland_wrap.c:7891:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7891:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c: In function ‘_wrap_raptor_version_string_get’: redland_wrap.c:7985:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:7985:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c: In function ‘_wrap_rasqal_version_string_get’: redland_wrap.c:8079:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:8079:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from redland_wrap.c:723:0: redland_wrap.c: In function ‘_wrap_librdf_php_world_set_logger’: redland_wrap.c:8183:62: warning: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Wincompatible-pointer-types] if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:258:45: note: in definition of macro ‘zend_get_parameters_array_ex’ _zend_get_parameters_array_ex(param_count, argument_array) ^ /usr/lib64/php7.0/include/php/Zend/zend_API.h:250:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’ ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_arra ^ redland_wrap.c: In function ‘_wrap_librdf_php_last_log_message’: redland_wrap.c:8303:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)result, 1); ^ redland_wrap.c:8303:7: error: ‘ZVAL_STRING’ undeclared (first use in this function) ZVAL_STRING(return_value, (char *)result, 1); ^ In file included from /usr/lib64/php7.0/include/php/Zend/zend.h:33:0, from redland_wrap.c:722: redland_wrap.c: In function ‘_wrap_destroy_p_raptor_locator’: redland_wrap.c:8328:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_query_results’: redland_wrap.c:8332:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_hash_s’: redland_wrap.c:8336:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_iterator_s’: redland_wrap.c:8340:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_parser_s’: redland_wrap.c:8344:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_storage_s’: redland_wrap.c:8348:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_model_s’: redland_wrap.c:8352:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_world_s’: redland_wrap.c:8356:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_log_message’: redland_wrap.c:8360:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_p_void’: redland_wrap.c:8364:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_uri_s’: redland_wrap.c:8368:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_node_s’: redland_wrap.c:8372:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_query’: redland_wrap.c:8376:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_p_char’: redland_wrap.c:8380:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_stream_s’: redland_wrap.c:8384:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_serializer_s’: redland_wrap.c:8388:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_digest_s’: redland_wrap.c:8392:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_log_func’: redland_wrap.c:8396:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘_wrap_destroy_p_librdf_statement_s’: redland_wrap.c:8400:9: error: ‘rsrc’ undeclared (first use in this function) efree(rsrc->ptr); ^ /usr/lib64/php7.0/include/php/Zend/zend_alloc.h:163:34: note: in definition of macro ‘efree’ #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC ^ redland_wrap.c: In function ‘zm_activate_redland’: redland_wrap.c:9732:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_STRING; ^ redland_wrap.c:9734:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = estrdup(librdf_short_copyright_string); ^ redland_wrap.c:9735:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = strlen(librdf_short_copyright_string); ^ redland_wrap.c:9737:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = 0; ^ redland_wrap.c:9738:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = 0; ^ redland_wrap.c:9740:153: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 sizeof("librdf_short_copyright_string"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9740:3: error: ‘zend_hash_add’ undeclared (first use in this function) zend_hash_add(&EG(symbol_table), (char*)"librdf_short_copyright_string", size ^ redland_wrap.c:9745:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_STRING; ^ redland_wrap.c:9747:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = estrdup(librdf_copyright_string); ^ redland_wrap.c:9748:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = strlen(librdf_copyright_string); ^ redland_wrap.c:9750:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = 0; ^ redland_wrap.c:9751:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = 0; ^ redland_wrap.c:9753:141: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 ing", sizeof("librdf_copyright_string"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9758:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_STRING; ^ redland_wrap.c:9760:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = estrdup(librdf_version_string); ^ redland_wrap.c:9761:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = strlen(librdf_version_string); ^ redland_wrap.c:9763:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = 0; ^ redland_wrap.c:9764:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = 0; ^ redland_wrap.c:9766:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 tring", sizeof("librdf_version_string"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9771:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9773:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _major", sizeof("librdf_version_major"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9778:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9780:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _minor", sizeof("librdf_version_minor"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9785:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9787:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 ease", sizeof("librdf_version_release"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9792:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9794:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 imal", sizeof("librdf_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9799:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_STRING; ^ redland_wrap.c:9801:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = estrdup(raptor_version_string); ^ redland_wrap.c:9802:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = strlen(raptor_version_string); ^ redland_wrap.c:9804:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = 0; ^ redland_wrap.c:9805:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = 0; ^ redland_wrap.c:9807:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 tring", sizeof("raptor_version_string"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9812:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9814:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _major", sizeof("raptor_version_major"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9819:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9821:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _minor", sizeof("raptor_version_minor"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9826:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9828:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 ease", sizeof("raptor_version_release"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9833:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9835:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 imal", sizeof("raptor_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9840:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_STRING; ^ redland_wrap.c:9842:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = estrdup(rasqal_version_string); ^ redland_wrap.c:9843:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = strlen(rasqal_version_string); ^ redland_wrap.c:9845:23: error: request for member ‘val’ in something not a structure or union z_var->value.str.val = 0; ^ redland_wrap.c:9846:23: error: request for member ‘len’ in something not a structure or union z_var->value.str.len = 0; ^ redland_wrap.c:9848:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 tring", sizeof("rasqal_version_string"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9853:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9855:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _major", sizeof("rasqal_version_major"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9860:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9862:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 _minor", sizeof("rasqal_version_minor"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9867:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9869:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 ease", sizeof("rasqal_version_release"), (void *)&z_var, sizeof(zval *), NULL); ^ redland_wrap.c:9874:8: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’ z_var->type = IS_LONG; ^ redland_wrap.c:9876:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 imal", sizeof("rasqal_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); ^ Makefile:493: recipe for target 'redland_wrap.o' failed make[2]: *** [redland_wrap.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1/php' Makefile:391: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1' Makefile:315: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-libs/redland-bindings-1.0.14.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/redland-bindings-1.0.14.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/redland-bindings-1.0.14.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:redland-bindings-1.0.14.1-r2:20160507-223133.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1' * S: '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1'