Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1254032 Details for
Bug 1424251
redland-bindings: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 629.84 KB, created by
Fedora Release Engineering
on 2017-02-17 16:28:29 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 16:28:29 UTC
Size:
629.84 KB
patch
obsolete
>Mock Version: 1.3.3 >Mock Version: 1.3.3 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/redland-bindings.spec'], printOutput=Falseshell=Falsegid=425user='mockbuild'uid=1000chrootPath='/var/lib/mock/f26-build-7664989-694567/root'timeout=172800logger=<mockbuild.trace_decorator.getLog object at 0x3fffa2022390>env={'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'}) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/redland-bindings.spec'] with env {'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False >sh: /usr/bin/perl: No such file or directory >sh: php-config: command not found >error: Macro %php_extdir has empty body >sh: /usr/bin/perl: No such file or directory >sh: /usr/bin/perl: No such file or directory >sh: /usr/bin/python: No such file or directory >sh: /usr/bin/python: No such file or directory >Building target platforms: ppc64le >Building for target ppc64le >Wrote: /builddir/build/SRPMS/redland-bindings-1.0.16.1-18.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/redland-bindings.spec'], chrootPath='/var/lib/mock/f26-build-7664989-694567/root'shell=Falsegid=425private_network=Trueuser='mockbuild'uid=1000printOutput=Falsetimeout=172800logger=<mockbuild.trace_decorator.getLog object at 0x3fffa2022390>env={'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'}) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/redland-bindings.spec'] with env {'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w5ryIl >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf redland-bindings-1.0.16.1 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/redland-bindings-1.0.16.1.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd redland-bindings-1.0.16.1 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ rm -f php/redland_wrap.c >+ rm -f perl/CORE_wrap.c >+ cat >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QqQp0H >+ umask 022 >+ cd /builddir/build/BUILD >+ cd redland-bindings-1.0.16.1 >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./build/config.sub >+ '[' -f /usr/lib/rpm/redhat/config.sub ']' >+ /usr/bin/rm -f ./build/config.sub >++ basename ./build/config.sub >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub >'/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./build/config.guess >+ '[' -f /usr/lib/rpm/redhat/config.guess ']' >+ /usr/bin/rm -f ./build/config.guess >++ basename ./build/config.guess >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess >'/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ for i in $(find . -name ltmain.sh) >+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build/ltmain.sh >+ ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-python --with-python-get-python-lib-args=1 --with-perl --with-ruby --with-ruby-arch-install-dir-variable=vendorarchdir --with-ruby-install-dir=/usr/lib64/ruby/vendor_ruby >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /usr/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... powerpc64le-redhat-linux-gnu >checking host system type... powerpc64le-redhat-linux-gnu >checking whether build environment is sane... yes >checking for ppc64le-redhat-linux-gnu-gcc... no >checking for gcc... 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 gcc accepts -g... yes >checking for gcc option to accept ISO C89... none needed >checking for style of include used by make... GNU >checking dependency style of gcc... none >checking whether 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... /usr/bin/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking 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 powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop >checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/bin/ld option to reload object files... -r >checking for ppc64le-redhat-linux-gnu-objdump... no >checking for objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for ppc64le-redhat-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for ppc64le-redhat-linux-gnu-ar... no >checking for ar... ar >checking for archiver @FILE support... @ >checking for ppc64le-redhat-linux-gnu-strip... no >checking for strip... strip >checking for ppc64le-redhat-linux-gnu-ranlib... no >checking for ranlib... ranlib >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for sysroot... no >checking for ppc64le-redhat-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no >checking for gcc option to produce PIC... -fPIC -DPIC >checking if gcc PIC flag -fPIC -DPIC works... yes >checking if gcc static flag -static works... no >checking if gcc supports -c -o file.o... yes >checking if gcc supports -c -o file.o... (cached) yes >checking whether the gcc linker (/usr/bin/ld -m elf64ppc) 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... gtar >checking for lua... no >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.12 - OK >checking Enable LUA API... no >checking for php-config... php-config >checking PHP Linking... compile '' link '-shared' suffix so >checking Enable Perl API... yes >checking Enable Python API... yes 2.7 >checking Python includes... -I/usr/include/python2.7 >checking Python libs... /usr/lib64/python2.7/site-packages >checking Python LDFLAGS... guessed flags: -shared >checking Python shared library file extension... .so >checking Ruby installation dir... /usr/lib64/ruby/vendor_ruby from user >checking Ruby arch installation dir... /usr/lib64/ruby/vendor_ruby from RbConfig::CONFIG vendorarchdir >checking Ruby headers dir... -I/usr/include from RbConfig::CONFIG rubyhdrdir >checking Ruby Linking... compile '' link ' -shared -lruby' suffix so >checking Enable PHP API... no >checking Enable Ruby API... yes >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: perl python ruby >+ cd perl >+ make 'MAKE_PL_OPTS=PREFIX=/usr INSTALLDIRS=vendor' -j4 >Making all in lib >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making all in RDF >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >Making all in Redland >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[2]: Nothing to be done for 'all-am'. >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making all in t >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make build-perl && touch build-perl-stamp >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >VERSION=1.0.16.1 LDFLAGS="-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf " CFLAGS="-I/usr/include/raptor2 -I/usr/include/rasqal -I. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal " SWIG="/usr/share/redland/Redland.i" perl ./Makefile.PL >Generating a Unix-style Makefile.perl >Writing Makefile.perl for RDF::Redland >make -f Makefile.perl >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >Running Mkbootstrap for CORE () >make CORE_wrap.c >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >swig -v -perl5 -I. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -module "RDF::Redland::CORE" -o CORE_wrap.c /usr/share/redland/Redland.i && mv CORE.pm lib/RDF/Redland/CORE.pm >chmod 644 "CORE.bs" >"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CORE.bs blib/arch/auto/RDF/Redland/CORE/CORE.bs 644 >cp lib/RDF/Redland/Model.pm blib/lib/RDF/Redland/Model.pm >cp lib/RDF/Redland/QueryResults.pm blib/lib/RDF/Redland/QueryResults.pm >cp lib/RDF/Redland/Statement.pm blib/lib/RDF/Redland/Statement.pm >cp lib/RDF/Redland/Query.pm blib/lib/RDF/Redland/Query.pm >cp lib/RDF/Redland/Iterator.pm blib/lib/RDF/Redland/Iterator.pm >cp lib/RDF/Redland/Stream.pm blib/lib/RDF/Redland/Stream.pm >cp lib/RDF/Redland/URI.pm blib/lib/RDF/Redland/URI.pm >cp lib/RDF/Redland/Serializer.pm blib/lib/RDF/Redland/Serializer.pm >cp lib/RDF/Redland/Parser.pm blib/lib/RDF/Redland/Parser.pm >cp lib/RDF/Redland/URINode.pm blib/lib/RDF/Redland/URINode.pm >cp lib/RDF/Redland/RSS.pm blib/lib/RDF/Redland/RSS.pm >cp lib/RDF/Redland/XMLLiteralNode.pm blib/lib/RDF/Redland/XMLLiteralNode.pm >cp lib/RDF/Redland/CORE.pm blib/lib/RDF/Redland/CORE.pm >cp lib/RDF/Redland.pm blib/lib/RDF/Redland.pm >cp lib/RDF/Redland/LiteralNode.pm blib/lib/RDF/Redland/LiteralNode.pm >cp lib/RDF/Redland/BlankNode.pm blib/lib/RDF/Redland/BlankNode.pm >cp lib/RDF/Redland/Storage.pm blib/lib/RDF/Redland/Storage.pm >cp lib/RDF/Redland/Node.pm blib/lib/RDF/Redland/Node.pm >Language subdirectory: perl5 >Search paths: > ./ > ./ > ./swig_lib/perl5/ > /usr/share/swig/3.0.12/perl5/ > ./swig_lib/ > /usr/share/swig/3.0.12/ >Preprocessing... >Starting language-specific parse... >Processing unnamed structs... >Processing types... >C++ analysis... >Generating wrappers... >top: using namespace_module: (null) >top: using module: RDF::Redland::CORE >top: No package found >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1.0.16.1\" -DXS_VERSION=\"1.0.16.1\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_CONFIG_H -I/usr/include/raptor2 -I/usr/include/rasqal -I. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal CORE_wrap.c >CORE_wrap.c: In function '_wrap_librdf_digest_update': >CORE_wrap.c:2281:31: warning: pointer targets in passing argument 2 of 'librdf_digest_update' differ in signedness [-Wpointer-sign] > librdf_digest_update(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_digest.h:51:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update(librdf_digest* digest, const unsigned char *buf, size_t length); > ^~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_digest_update_string': >CORE_wrap.c:2321:38: warning: pointer targets in passing argument 2 of 'librdf_digest_update_string' differ in signedness [-Wpointer-sign] > librdf_digest_update_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_digest.h:53:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update_string(librdf_digest* digest, const unsigned char *string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_uri': >CORE_wrap.c:2995:48: warning: pointer targets in passing argument 2 of 'librdf_new_uri' differ in signedness [-Wpointer-sign] > result = (librdf_uri *)librdf_new_uri(arg1,arg2); > ^~~~ >In file included from /usr/include/librdf.h:398:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_uri.h:52:13: note: expected 'const unsigned char *' but argument is of type 'char *' > librdf_uri* librdf_new_uri (librdf_world *world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_uri_string': >CORE_wrap.c:3261:66: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:85:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_string(librdf_world* world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_uri_local_name': >CORE_wrap.c:3346:75: warning: pointer targets in passing argument 3 of 'librdf_new_node_from_uri_local_name' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_local_name(arg1,arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:95:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_local_name(librdf_world* world, librdf_uri *uri, const unsigned char *local_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_normalised_uri_string': >CORE_wrap.c:3403:77: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_normalised_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_normalised_uri_string(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:99:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_normalised_uri_string(librdf_world* world, const unsigned char *uri_string, librdf_uri *source_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_literal': >CORE_wrap.c:3467:63: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:103:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_literal(librdf_world* world, const unsigned char *string, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_typed_literal': >CORE_wrap.c:3531:69: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_typed_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_typed_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:107:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_typed_literal(librdf_world *world, const unsigned char *value, const char *xml_language, librdf_uri* datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_blank_identifier': >CORE_wrap.c:3604:72: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_blank_identifier' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_blank_identifier(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:114:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_blank_identifier(librdf_world* world, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_node_to_string': >CORE_wrap.c:3885:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_node.h:171:16: note: declared here > unsigned char *librdf_node_to_string(librdf_node* node); > ^~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_statement_to_string': >CORE_wrap.c:4476:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_statement.h:115:16: note: declared here > unsigned char *librdf_statement_to_string(librdf_statement *statement); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_model_add_string_literal_statement': >CORE_wrap.c:4817:76: warning: pointer targets in passing argument 4 of 'librdf_model_add_string_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_string_literal_statement(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); > ^ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_model.h:74:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_model_add_string_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_model_add_typed_literal_statement': >CORE_wrap.c:4899:75: warning: pointer targets in passing argument 4 of 'librdf_model_add_typed_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_typed_literal_statement(arg1,arg2,arg3,arg4,arg5,arg6); > ^~~~ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_model.h:76:5: note: expected 'const unsigned char *' but argument is of type 'char *' > int librdf_model_add_typed_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, librdf_uri *datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_string_as_stream': >CORE_wrap.c:6706:73: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_string_as_stream(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:66:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_string_as_stream(librdf_parser* parser, const unsigned char* string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_string_into_model': >CORE_wrap.c:6763:62: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_string_into_model(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:68:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_string_into_model(librdf_parser* parser, const unsigned char *string, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_as_stream': >CORE_wrap.c:6822:81: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_counted_string_as_stream(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:82:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_counted_string_as_stream(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_into_model': >CORE_wrap.c:6889:70: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_counted_string_into_model(arg1,(char const *)arg2,arg3,arg4,arg5); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:84:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_counted_string_into_model(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_guess_name': >CORE_wrap.c:7030:5: warning: 'librdf_parser_guess_name' is deprecated [-Wdeprecated-declarations] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^~~~~~ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: declared here > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7030:66: warning: pointer targets in passing argument 2 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7030:85: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_guess_name2': >CORE_wrap.c:7089:72: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7089:91: warning: pointer targets in passing argument 4 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_query': >CORE_wrap.c:7261:76: warning: pointer targets in passing argument 4 of 'librdf_new_query' differ in signedness [-Wpointer-sign] > result = (librdf_query *)librdf_new_query(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5); > ^ >In file included from /usr/include/librdf.h:408:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_query.h:47:15: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_query* librdf_new_query(librdf_world* world, const char *name, librdf_uri* uri, const unsigned char *query_string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_query_results_to_file': >CORE_wrap.c:7802:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_query.h:103:5: note: declared here > int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_query_results_to_string': >CORE_wrap.c:7922:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_query.h:95:16: note: declared here > unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_stream_get_context': >CORE_wrap.c:8781:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_stream.h:98:7: note: declared here > void* librdf_stream_get_context(librdf_stream* stream); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >rm -f blib/arch/auto/RDF/Redland/CORE/CORE.so >gcc -shared -Wl,-z,relro -fstack-protector-strong CORE_wrap.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf -o blib/arch/auto/RDF/Redland/CORE/CORE.so \ > -lperl \ > >chmod 755 blib/arch/auto/RDF/Redland/CORE/CORE.so >Manifying 17 pod documents >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >+ cd .. >+ make -j4 >make all-recursive >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1' >Making all in perl >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >Making all in lib >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making all in RDF >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >Making all in Redland >make[5]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[5]: Nothing to be done for 'all'. >make[5]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[5]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[5]: Nothing to be done for 'all-am'. >make[5]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[4]: Nothing to be done for 'all-am'. >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making all in t >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >Making all in python >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' >Making all in test >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python/test' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' >gcc -DHAVE_CONFIG_H -I. -I./.. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -I/usr/include/raptor2 -I/usr/include/rasqal -I/usr/include/python2.7 -DSWIG_PYTHON_SILENT_MEMLEAK -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal -DSWIG_PYTHON_SILENT_MEMLEAK -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -DPIC ./Redland_wrap.c -c -o Redland_wrap.so >./Redland_wrap.c: In function '_wrap_librdf_digest_update': >./Redland_wrap.c:3522:31: warning: pointer targets in passing argument 2 of 'librdf_digest_update' differ in signedness [-Wpointer-sign] > librdf_digest_update(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_digest.h:51:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update(librdf_digest* digest, const unsigned char *buf, size_t length); > ^~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_digest_update_string': >./Redland_wrap.c:3568:38: warning: pointer targets in passing argument 2 of 'librdf_digest_update_string' differ in signedness [-Wpointer-sign] > librdf_digest_update_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_digest.h:53:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update_string(librdf_digest* digest, const unsigned char *string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_uri': >./Redland_wrap.c:4383:48: warning: pointer targets in passing argument 2 of 'librdf_new_uri' differ in signedness [-Wpointer-sign] > result = (librdf_uri *)librdf_new_uri(arg1,arg2); > ^~~~ >In file included from /usr/include/librdf.h:398:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_uri.h:52:13: note: expected 'const unsigned char *' but argument is of type 'char *' > librdf_uri* librdf_new_uri (librdf_world *world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_string': >./Redland_wrap.c:4705:66: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:85:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_string(librdf_world* world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_local_name': >./Redland_wrap.c:4805:75: warning: pointer targets in passing argument 3 of 'librdf_new_node_from_uri_local_name' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_local_name(arg1,arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:95:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_local_name(librdf_world* world, librdf_uri *uri, const unsigned char *local_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_normalised_uri_string': >./Redland_wrap.c:4870:77: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_normalised_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_normalised_uri_string(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:99:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_normalised_uri_string(librdf_world* world, const unsigned char *uri_string, librdf_uri *source_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_literal': >./Redland_wrap.c:4940:63: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:103:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_literal(librdf_world* world, const unsigned char *string, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_typed_literal': >./Redland_wrap.c:5012:69: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_typed_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_typed_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:107:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_typed_literal(librdf_world *world, const unsigned char *value, const char *xml_language, librdf_uri* datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_node_from_blank_identifier': >./Redland_wrap.c:5098:72: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_blank_identifier' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_blank_identifier(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_node.h:114:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_blank_identifier(librdf_world* world, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_node_to_string': >./Redland_wrap.c:5449:5: 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:2989: >/usr/include/rdf_node.h:171:16: note: declared here > unsigned char *librdf_node_to_string(librdf_node* node); > ^~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_statement_to_string': >./Redland_wrap.c:6157:5: 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:2989: >/usr/include/rdf_statement.h:115:16: note: declared here > unsigned char *librdf_statement_to_string(librdf_statement *statement); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_model_add_string_literal_statement': >./Redland_wrap.c:6554:76: warning: pointer targets in passing argument 4 of 'librdf_model_add_string_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_string_literal_statement(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); > ^ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_model.h:74:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_model_add_string_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_model_add_typed_literal_statement': >./Redland_wrap.c:6642:75: warning: pointer targets in passing argument 4 of 'librdf_model_add_typed_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_typed_literal_statement(arg1,arg2,arg3,arg4,arg5,arg6); > ^~~~ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_model.h:76:5: note: expected 'const unsigned char *' but argument is of type 'char *' > int librdf_model_add_typed_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, librdf_uri *datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_parse_string_as_stream': >./Redland_wrap.c:8701:73: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_string_as_stream(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:66:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_string_as_stream(librdf_parser* parser, const unsigned char* string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_parse_string_into_model': >./Redland_wrap.c:8766:62: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_string_into_model(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:68:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_string_into_model(librdf_parser* parser, const unsigned char *string, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_as_stream': >./Redland_wrap.c:8831:81: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_counted_string_as_stream(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:82:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_counted_string_as_stream(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_into_model': >./Redland_wrap.c:8905:70: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_counted_string_into_model(arg1,(char const *)arg2,arg3,arg4,arg5); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:84:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_counted_string_into_model(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_guess_name': >./Redland_wrap.c:9060:5: warning: 'librdf_parser_guess_name' is deprecated [-Wdeprecated-declarations] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^~~~~~ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:111:13: note: declared here > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c:9060:66: warning: pointer targets in passing argument 2 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c:9060:85: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_parser_guess_name2': >./Redland_wrap.c:9131:72: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c:9131:91: warning: pointer targets in passing argument 4 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_new_query': >./Redland_wrap.c:9333:76: warning: pointer targets in passing argument 4 of 'librdf_new_query' differ in signedness [-Wpointer-sign] > result = (librdf_query *)librdf_new_query(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5); > ^ >In file included from /usr/include/librdf.h:408:0, > from /usr/include/redland.h:30, > from ./Redland_wrap.c:2989: >/usr/include/rdf_query.h:47:15: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_query* librdf_new_query(librdf_world* world, const char *name, librdf_uri* uri, const unsigned char *query_string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_query_results_to_file': >./Redland_wrap.c:9981:5: 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:2989: >/usr/include/rdf_query.h:103:5: note: declared here > int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_query_results_to_string': >./Redland_wrap.c:10113:5: 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:2989: >/usr/include/rdf_query.h:95:16: note: declared here > unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./Redland_wrap.c: In function '_wrap_librdf_stream_get_context': >./Redland_wrap.c:11115:5: 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:2989: >/usr/include/rdf_stream.h:98:7: note: declared here > void* librdf_stream_get_context(librdf_stream* stream); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal -DSWIG_PYTHON_SILENT_MEMLEAK -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 Redland_wrap.so -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf -lrasqal -lraptor2 -o Redland.so >touch Redland-stamp >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/python' >Making all in ruby >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby' >Making all in lib >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib' >Making all in rdf >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf' >Making all in redland >make[5]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland' >Making all in schemas >make[6]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland/schemas' >make[6]: Nothing to be done for 'all'. >make[6]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland/schemas' >make[6]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland' >make[6]: Nothing to be done for 'all-am'. >make[6]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland' >make[5]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf/redland' >make[5]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf' >make[5]: Nothing to be done for 'all-am'. >make[5]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf' >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib/rdf' >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib' >make[4]: Nothing to be done for 'all-am'. >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib' >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/lib' >Making all in test >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/test' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby/test' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby' >gcc -DHAVE_CONFIG_H -I. -DREDLAND_PRE_I -DREDLAND_TYPES_I -UHAVE_CONFIG_H -I/usr/include/raptor2 -I/usr/include/rasqal -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -DPIC redland_wrap.c -c -o redland_wrap.o >redland_wrap.c: In function 'SWIG_Ruby_define_class': >redland_wrap.c:1493:9: warning: variable 'klass' set but not used [-Wunused-but-set-variable] > VALUE klass; > ^~~~~ >redland_wrap.c: In function '_wrap_librdf_digest_update': >redland_wrap.c:2229:29: warning: pointer targets in passing argument 2 of 'librdf_digest_update' differ in signedness [-Wpointer-sign] > librdf_digest_update(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_digest.h:51:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update(librdf_digest* digest, const unsigned char *buf, size_t length); > ^~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_digest_update_string': >redland_wrap.c:2261:36: warning: pointer targets in passing argument 2 of 'librdf_digest_update_string' differ in signedness [-Wpointer-sign] > librdf_digest_update_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_digest.h:53:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update_string(librdf_digest* digest, const unsigned char *string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_uri': >redland_wrap.c:2838:46: warning: pointer targets in passing argument 2 of 'librdf_new_uri' differ in signedness [-Wpointer-sign] > result = (librdf_uri *)librdf_new_uri(arg1,arg2); > ^~~~ >In file included from /usr/include/librdf.h:398:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_uri.h:52:13: note: expected 'const unsigned char *' but argument is of type 'char *' > librdf_uri* librdf_new_uri (librdf_world *world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_string': >redland_wrap.c:3068:64: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:85:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_string(librdf_world* world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_local_name': >redland_wrap.c:3143:73: warning: pointer targets in passing argument 3 of 'librdf_new_node_from_uri_local_name' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_local_name(arg1,arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:95:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_local_name(librdf_world* world, librdf_uri *uri, const unsigned char *local_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_normalised_uri_string': >redland_wrap.c:3194:75: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_normalised_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_normalised_uri_string(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:99:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_normalised_uri_string(librdf_world* world, const unsigned char *uri_string, librdf_uri *source_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_literal': >redland_wrap.c:3245:61: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:103:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_literal(librdf_world* world, const unsigned char *string, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_typed_literal': >redland_wrap.c:3296:67: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_typed_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_typed_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:107:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_typed_literal(librdf_world *world, const unsigned char *value, const char *xml_language, librdf_uri* datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_node_from_blank_identifier': >redland_wrap.c:3352:70: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_blank_identifier' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_blank_identifier(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_node.h:114:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_blank_identifier(librdf_world* world, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_node_to_string': >redland_wrap.c:3595: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:1869: >/usr/include/rdf_node.h:171:16: note: declared here > unsigned char *librdf_node_to_string(librdf_node* node); > ^~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_statement_to_string': >redland_wrap.c:4092: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:1869: >/usr/include/rdf_statement.h:115:16: note: declared here > unsigned char *librdf_statement_to_string(librdf_statement *statement); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_model_add_string_literal_statement': >redland_wrap.c:4384:74: warning: pointer targets in passing argument 4 of 'librdf_model_add_string_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_string_literal_statement(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); > ^ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_model.h:74:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_model_add_string_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_model_add_typed_literal_statement': >redland_wrap.c:4454:73: warning: pointer targets in passing argument 4 of 'librdf_model_add_typed_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_typed_literal_statement(arg1,arg2,arg3,arg4,arg5,arg6); > ^~~~ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_model.h:76:5: note: expected 'const unsigned char *' but argument is of type 'char *' > int librdf_model_add_typed_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, librdf_uri *datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_parse_string_as_stream': >redland_wrap.c:5959:71: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_string_as_stream(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:66:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_string_as_stream(librdf_parser* parser, const unsigned char* string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_parse_string_into_model': >redland_wrap.c:6010:60: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_string_into_model(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:68:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_string_into_model(librdf_parser* parser, const unsigned char *string, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_as_stream': >redland_wrap.c:6061:79: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_counted_string_as_stream(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:82:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_counted_string_as_stream(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_into_model': >redland_wrap.c:6120:68: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_counted_string_into_model(arg1,(char const *)arg2,arg3,arg4,arg5); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:84:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_counted_string_into_model(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_guess_name': >redland_wrap.c:6237:3: warning: 'librdf_parser_guess_name' is deprecated [-Wdeprecated-declarations] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^~~~~~ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:111:13: note: declared here > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6237:64: warning: pointer targets in passing argument 2 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6237:83: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_parser_guess_name2': >redland_wrap.c:6294:70: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6294:89: warning: pointer targets in passing argument 4 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_query': >redland_wrap.c:6446:74: warning: pointer targets in passing argument 4 of 'librdf_new_query' differ in signedness [-Wpointer-sign] > result = (librdf_query *)librdf_new_query(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5); > ^ >In file included from /usr/include/librdf.h:408:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1869: >/usr/include/rdf_query.h:47:15: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_query* librdf_new_query(librdf_world* world, const char *name, librdf_uri* uri, const unsigned char *query_string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_query_results_to_file': >redland_wrap.c:6907: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:1869: >/usr/include/rdf_query.h:103:5: note: declared here > int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_query_results_to_string': >redland_wrap.c:7011: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:1869: >/usr/include/rdf_query.h:95:16: note: declared here > unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_stream_get_context': >redland_wrap.c:7750: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:1869: >/usr/include/rdf_stream.h:98:7: note: declared here > void* librdf_stream_get_context(librdf_stream* stream); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 redland_wrap.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf -shared -lruby -o redland.so >touch redland-stamp >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/ruby' >Making all in data >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/data' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/data' >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1' >+ exit 0 >Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3X8xAf >+ umask 022 >+ cd /builddir/build/BUILD >+ '[' /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le '!=' / ']' >+ rm -rf /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le >++ dirname /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le >+ mkdir -p /builddir/build/BUILDROOT >+ mkdir /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le >+ cd redland-bindings-1.0.16.1 >+ rm -rf /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le >+ cd perl >+ make install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le PREFIX=/usr INSTALLDIRS=vendor >Making install in lib >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making install in RDF >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >Making install in Redland >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[4]: Nothing to be done for 'install-exec-am'. >make[4]: Nothing to be done for 'install-data-am'. >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF/Redland' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[4]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[4]: Nothing to be done for 'install-exec-am'. >make[4]: Nothing to be done for 'install-data-am'. >make[4]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib/RDF' >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[3]: Nothing to be done for 'install-exec-am'. >make[3]: Nothing to be done for 'install-data-am'. >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/lib' >Making install in t >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[2]: Nothing to be done for 'install-exec-am'. >make[2]: Nothing to be done for 'install-data-am'. >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl/t' >make[1]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[2]: Nothing to be done for 'install-exec-am'. >VERSION=1.0.16.1 LDFLAGS="-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf " CFLAGS="-I/usr/include/raptor2 -I/usr/include/rasqal -I. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal " SWIG="/usr/share/redland/Redland.i" perl ./Makefile.PL >Generating a Unix-style Makefile.perl >Writing Makefile.perl for RDF::Redland >make -f Makefile.perl install >make[3]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >Skip blib/lib/RDF/Redland/Iterator.pm (unchanged) >Skip blib/lib/RDF/Redland/RSS.pm (unchanged) >Skip blib/lib/RDF/Redland/BlankNode.pm (unchanged) >Skip blib/lib/RDF/Redland/Stream.pm (unchanged) >Skip blib/lib/RDF/Redland/Node.pm (unchanged) >Skip blib/lib/RDF/Redland/Model.pm (unchanged) >Skip blib/lib/RDF/Redland/Storage.pm (unchanged) >cp lib/RDF/Redland/CORE.pm blib/lib/RDF/Redland/CORE.pm >Skip blib/lib/RDF/Redland/Serializer.pm (unchanged) >Skip blib/lib/RDF/Redland/Statement.pm (unchanged) >Skip blib/lib/RDF/Redland/Query.pm (unchanged) >Skip blib/lib/RDF/Redland/LiteralNode.pm (unchanged) >Skip blib/lib/RDF/Redland/QueryResults.pm (unchanged) >Skip blib/lib/RDF/Redland/URI.pm (unchanged) >Skip blib/lib/RDF/Redland/XMLLiteralNode.pm (unchanged) >Skip blib/lib/RDF/Redland/URINode.pm (unchanged) >Skip blib/lib/RDF/Redland/Parser.pm (unchanged) >Skip blib/lib/RDF/Redland.pm (unchanged) >Running Mkbootstrap for CORE () >chmod 644 "CORE.bs" >"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CORE.bs blib/arch/auto/RDF/Redland/CORE/CORE.bs 644 >gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1.0.16.1\" -DXS_VERSION=\"1.0.16.1\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_CONFIG_H -I/usr/include/raptor2 -I/usr/include/rasqal -I. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal CORE_wrap.c >CORE_wrap.c: In function '_wrap_librdf_digest_update': >CORE_wrap.c:2281:31: warning: pointer targets in passing argument 2 of 'librdf_digest_update' differ in signedness [-Wpointer-sign] > librdf_digest_update(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_digest.h:51:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update(librdf_digest* digest, const unsigned char *buf, size_t length); > ^~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_digest_update_string': >CORE_wrap.c:2321:38: warning: pointer targets in passing argument 2 of 'librdf_digest_update_string' differ in signedness [-Wpointer-sign] > librdf_digest_update_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_digest.h:53:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update_string(librdf_digest* digest, const unsigned char *string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_uri': >CORE_wrap.c:2995:48: warning: pointer targets in passing argument 2 of 'librdf_new_uri' differ in signedness [-Wpointer-sign] > result = (librdf_uri *)librdf_new_uri(arg1,arg2); > ^~~~ >In file included from /usr/include/librdf.h:398:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_uri.h:52:13: note: expected 'const unsigned char *' but argument is of type 'char *' > librdf_uri* librdf_new_uri (librdf_world *world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_uri_string': >CORE_wrap.c:3261:66: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:85:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_string(librdf_world* world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_uri_local_name': >CORE_wrap.c:3346:75: warning: pointer targets in passing argument 3 of 'librdf_new_node_from_uri_local_name' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_local_name(arg1,arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:95:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_local_name(librdf_world* world, librdf_uri *uri, const unsigned char *local_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_normalised_uri_string': >CORE_wrap.c:3403:77: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_normalised_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_normalised_uri_string(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:99:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_normalised_uri_string(librdf_world* world, const unsigned char *uri_string, librdf_uri *source_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_literal': >CORE_wrap.c:3467:63: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:103:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_literal(librdf_world* world, const unsigned char *string, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_typed_literal': >CORE_wrap.c:3531:69: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_typed_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_typed_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:107:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_typed_literal(librdf_world *world, const unsigned char *value, const char *xml_language, librdf_uri* datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_node_from_blank_identifier': >CORE_wrap.c:3604:72: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_blank_identifier' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_blank_identifier(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_node.h:114:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_blank_identifier(librdf_world* world, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_node_to_string': >CORE_wrap.c:3885:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_node.h:171:16: note: declared here > unsigned char *librdf_node_to_string(librdf_node* node); > ^~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_statement_to_string': >CORE_wrap.c:4476:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_statement.h:115:16: note: declared here > unsigned char *librdf_statement_to_string(librdf_statement *statement); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_model_add_string_literal_statement': >CORE_wrap.c:4817:76: warning: pointer targets in passing argument 4 of 'librdf_model_add_string_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_string_literal_statement(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); > ^ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_model.h:74:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_model_add_string_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_model_add_typed_literal_statement': >CORE_wrap.c:4899:75: warning: pointer targets in passing argument 4 of 'librdf_model_add_typed_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_typed_literal_statement(arg1,arg2,arg3,arg4,arg5,arg6); > ^~~~ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_model.h:76:5: note: expected 'const unsigned char *' but argument is of type 'char *' > int librdf_model_add_typed_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, librdf_uri *datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_string_as_stream': >CORE_wrap.c:6706:73: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_string_as_stream(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:66:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_string_as_stream(librdf_parser* parser, const unsigned char* string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_string_into_model': >CORE_wrap.c:6763:62: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_string_into_model(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:68:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_string_into_model(librdf_parser* parser, const unsigned char *string, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_as_stream': >CORE_wrap.c:6822:81: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_counted_string_as_stream(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:82:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_counted_string_as_stream(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_into_model': >CORE_wrap.c:6889:70: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_counted_string_into_model(arg1,(char const *)arg2,arg3,arg4,arg5); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:84:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_counted_string_into_model(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_guess_name': >CORE_wrap.c:7030:5: warning: 'librdf_parser_guess_name' is deprecated [-Wdeprecated-declarations] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^~~~~~ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: declared here > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7030:66: warning: pointer targets in passing argument 2 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7030:85: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_parser_guess_name2': >CORE_wrap.c:7089:72: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c:7089:91: warning: pointer targets in passing argument 4 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_new_query': >CORE_wrap.c:7261:76: warning: pointer targets in passing argument 4 of 'librdf_new_query' differ in signedness [-Wpointer-sign] > result = (librdf_query *)librdf_new_query(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5); > ^ >In file included from /usr/include/librdf.h:408:0, > from /usr/include/redland.h:30, > from CORE_wrap.c:1568: >/usr/include/rdf_query.h:47:15: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_query* librdf_new_query(librdf_world* world, const char *name, librdf_uri* uri, const unsigned char *query_string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_query_results_to_file': >CORE_wrap.c:7802:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_query.h:103:5: note: declared here > int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_query_results_to_string': >CORE_wrap.c:7922:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_query.h:95:16: note: declared here > unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >CORE_wrap.c: In function '_wrap_librdf_stream_get_context': >CORE_wrap.c:8781:5: 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 CORE_wrap.c:1568: >/usr/include/rdf_stream.h:98:7: note: declared here > void* librdf_stream_get_context(librdf_stream* stream); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >rm -f blib/arch/auto/RDF/Redland/CORE/CORE.so >gcc -shared -Wl,-z,relro -fstack-protector-strong CORE_wrap.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrdf -o blib/arch/auto/RDF/Redland/CORE/CORE.so \ > -lperl \ > >chmod 755 blib/arch/auto/RDF/Redland/CORE/CORE.so >Manifying 17 pod documents >Files found in blib/arch: installing files in blib/lib into architecture dependent library tree >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/auto/RDF/Redland/CORE/CORE.so >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Model.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Stream.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/URINode.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Iterator.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Node.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/URI.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/BlankNode.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Query.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Serializer.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Parser.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Storage.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/RSS.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/CORE.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/QueryResults.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/LiteralNode.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/XMLLiteralNode.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/lib64/perl5/vendor_perl/RDF/Redland/Statement.pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::URI.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Serializer.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::BlankNode.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Statement.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::URINode.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Iterator.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::RSS.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::XMLLiteralNode.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Storage.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Stream.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Parser.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Model.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Node.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::LiteralNode.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::Query.3pm >Installing /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le/usr/share/man/man3/RDF::Redland::QueryResults.3pm >Appending installation info to /usr/lib64/perl5/perllocal.pod >/bin/sh: /usr/lib64/perl5/perllocal.pod: Permission denied >make[3]: [Makefile.perl:850: doc_vendor_install] Error 1 (ignored) >make[3]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[2]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >make[1]: Leaving directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/perl' >+ find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le -type f -name .packlist -exec rm -f '{}' ';' >+ find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' >+ find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le -type d -depth -exec rmdir '{}' ';' >+ find /builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le -type f -name '*.so' -exec chmod 755 '{}' ';' >+ chmod -x example.pl >+ cd .. >+ cd php >+ make DESTDIR=/builddir/build/BUILDROOT/redland-bindings-1.0.16.1-18.fc26.ppc64le install >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: php5 >Search paths: > ./ > ./ > ./swig_lib/php5/ > /usr/share/swig/3.0.12/php5/ > ./swig_lib/ > /usr/share/swig/3.0.12/ >Preprocessing... >Starting language-specific parse... >Processing unnamed structs... >Processing types... >C++ analysis... >Generating wrappers... >rm -f redland.php >gcc -DHAVE_CONFIG_H -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -UHAVE_CONFIG_H -I/usr/include/raptor2 -I/usr/include/rasqal -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DREDLAND_BINDINGS_VERSION=\"1.0.16.1\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/include/raptor2 -I/usr/include/rasqal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -DPIC redland_wrap.c -c -o redland_wrap.o >redland_wrap.c:730:3: error: #error These bindings need PHP5 - to generate PHP7 bindings use: swig -php7 > # error These bindings need PHP5 - to generate PHP7 bindings use: swig -php7 > ^~~~~ >redland_wrap.c: In function 'SWIG_ZTS_SetPointerZval': >redland_wrap.c:836:7: warning: implicit declaration of function 'ZEND_REGISTER_RESOURCE'; did you mean 'ZEND_MAX_RESERVED_RESOURCES'? [-Wimplicit-function-declaration] > ZEND_REGISTER_RESOURCE(z, value, *(int *)(type->clientdata)); > ^~~~~~~~~~~~~~~~~~~~~~ > ZEND_MAX_RESERVED_RESOURCES >redland_wrap.c:857:7: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] > MAKE_STD_ZVAL(resource); > ^~~~~~~~~~~~~ >redland_wrap.c:863: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, &ce TSRMLS_CC); > ^~~~~~~~~ >In file included from /usr/include/php/Zend/zend_API.h:31:0, > from redland_wrap.c:725: >/usr/include/php/Zend/zend_execute.h:43: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:863:18: error: too many arguments to function 'zend_lookup_class' > result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, &ce TSRMLS_CC); > ^~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend_API.h:31:0, > from redland_wrap.c:725: >/usr/include/php/Zend/zend_execute.h:43:28: note: declared here > ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); > ^~~~~~~~~~~~~~~~~ >redland_wrap.c:863:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] > result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, &ce TSRMLS_CC); > ^ >redland_wrap.c:866: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_CC); > ^ >In file included from /usr/include/php/Zend/zend_API.h:31:0, > from redland_wrap.c:725: >/usr/include/php/Zend/zend_execute.h:43: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:866:18: error: too many arguments to function 'zend_lookup_class' > result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS_CC); > ^~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend_API.h:31:0, > from redland_wrap.c:725: >/usr/include/php/Zend/zend_execute.h:43:28: note: declared here > ZEND_API zend_class_entry *zend_lookup_class(zend_string *name); > ^~~~~~~~~~~~~~~~~ >redland_wrap.c:866:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion] > result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS_CC); > ^ >redland_wrap.c:752: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:875:7: note: in expansion of macro 'Z_SET_ISREF_P' > Z_SET_ISREF_P(z); > ^~~~~~~~~~~~~ >redland_wrap.c:876:106: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 > zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL); > ^ >redland_wrap.c:876:7: error: 'zend_hash_update' undeclared (first use in this function); did you mean '_zend_hash_update'? > zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL); > ^~~~~~~~~~~~~~~~ > _zend_hash_update >redland_wrap.c:876:7: note: each undeclared identifier is reported only once for each function it appears in >redland_wrap.c: In function 'SWIG_ZTS_ConvertResourcePtr': >redland_wrap.c:931:35: warning: implicit declaration of function 'zend_list_find'; did you mean 'zend_list_free'? [-Wimplicit-function-declaration] > value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type); > ^~~~~~~~~~~~~~ > zend_list_free >redland_wrap.c:931: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:938: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/include/php/Zend/zend_API.h:28:0, > from redland_wrap.c:725: >/usr/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:952:12: error: 'zval {aka struct _zval_struct}' has no member named 'type' > switch (z->type) { > ^~ >redland_wrap.c:955: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**)&_cPtr)==SUCCESS) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_hash.h:161: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 *key); > ^~~~~~~~~~~~~~ >redland_wrap.c:955:11: error: too many arguments to function 'zend_hash_find' > if (zend_hash_find(HASH_OF(z),(char*)"_cPtr",sizeof("_cPtr"),(void**)&_cPtr)==SUCCESS) { > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_hash.h:161:30: note: declared here > ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~~ >redland_wrap.c:956: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:982: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/include/php/main/php.h:413:0, > from redland_wrap.c:727: >/usr/include/php/Zend/zend_constants.h:69: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:982: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/include/php/main/php.h:413:0, > from redland_wrap.c:727: >/usr/include/php/Zend/zend_constants.h:69:16: note: declared here > ZEND_API zval *zend_get_constant(zend_string *name); > ^~~~~~~~~~~~~~~~~ >redland_wrap.c:983:16: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if (pointer->type == IS_LONG) { > ^~ >redland_wrap.c:987:3: warning: implicit declaration of function 'FREE_ZVAL'; did you mean 'ZVAL_ZVAL'? [-Wimplicit-function-declaration] > FREE_ZVAL(pointer); > ^~~~~~~~~ > ZVAL_ZVAL >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_swig_redland_alter_newobject': >redland_wrap.c:1063: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1067: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:725:0: >redland_wrap.c: In function '_wrap_swig_redland_get_newobject': >redland_wrap.c:1078: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1082: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:1128: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:725:0: >/usr/include/php/Zend/zend_API.h:292:28: note: declared here > ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_digest': >redland_wrap.c:1275: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1286:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1289:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1289:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1289:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1290:21: warning: implicit declaration of function 'Z_STRVAL_PP'; did you mean 'Z_STRVAL_P'? [-Wimplicit-function-declaration] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^~~~~~~~~~~ > Z_STRVAL_P >redland_wrap.c:1290:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:1298:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_digest': >redland_wrap.c:1310: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1321:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_digest_init': >redland_wrap.c:1333: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1344:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_digest_update': >redland_wrap.c:1358: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1369:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1372:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1372:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1372:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1373: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/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:1379:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:1379:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[2]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:1379:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:1380:19: warning: implicit declaration of function 'Z_LVAL_PP'; did you mean 'Z_LVAL_P'? [-Wimplicit-function-declaration] > arg3 = (size_t) Z_LVAL_PP(args[2]); > ^~~~~~~~~ > Z_LVAL_P >redland_wrap.c:1383:29: warning: pointer targets in passing argument 2 of 'librdf_digest_update' differ in signedness [-Wpointer-sign] > librdf_digest_update(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_digest.h:51:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update(librdf_digest* digest, const unsigned char *buf, size_t length); > ^~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1385:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_digest_update_string': >redland_wrap.c:1398: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1409:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1412:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1412:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1412:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1413:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:1417:36: warning: pointer targets in passing argument 2 of 'librdf_digest_update_string' differ in signedness [-Wpointer-sign] > librdf_digest_update_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:394:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_digest.h:53:6: note: expected 'const unsigned char *' but argument is of type 'const char *' > void librdf_digest_update_string(librdf_digest* digest, const unsigned char *string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1419:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_digest_final': >redland_wrap.c:1431: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1442:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_digest_to_string': >redland_wrap.c:1455: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1469:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:1469:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:1473:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_hash': >redland_wrap.c:1487: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1498:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1501:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1501:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1501:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1502:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:1510:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_hash_from_string': >redland_wrap.c:1525: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1536:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:1546:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1549:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1549:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1549:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1550:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:1558:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_hash_from_array_of_strings': >redland_wrap.c:1573: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1584:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1587:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1587:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:1587:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:1588:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:1601:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_hash_to_string': >redland_wrap.c:1615: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1634:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:1634:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:1638:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_hash': >redland_wrap.c:1650: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1661:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_new_world': >redland_wrap.c:1682:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:1680:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_world': >redland_wrap.c:1692: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1703:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_world_open': >redland_wrap.c:1715: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1726:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_world_get_feature': >redland_wrap.c:1740: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1752:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:1766:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_world_set_feature': >redland_wrap.c:1781: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1793:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:1802:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:1812:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_get_accept_header': >redland_wrap.c:1825: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1839:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:1839:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:1843:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_world_set_logger': >redland_wrap.c:1858: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1870:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) arg2=0; > ^~ >redland_wrap.c:1883:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_iterator': >redland_wrap.c:1895: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1906:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_iterator_end': >redland_wrap.c:1919: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1932:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_iterator_get_object': >redland_wrap.c:1945: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1962:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_iterator_get_context': >redland_wrap.c:1975: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:1992:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_iterator_next': >redland_wrap.c:2005: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2018:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_uri': >redland_wrap.c:2032: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2043:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2046:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2046:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2046:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2047:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2051:46: warning: pointer targets in passing argument 2 of 'librdf_new_uri' differ in signedness [-Wpointer-sign] > result = (librdf_uri *)librdf_new_uri(arg1,arg2); > ^~~~ >In file included from /usr/include/librdf.h:398:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_uri.h:52:13: note: expected 'const unsigned char *' but argument is of type 'char *' > librdf_uri* librdf_new_uri (librdf_world *world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~ >redland_wrap.c:2055:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_uri_from_uri': >redland_wrap.c:2068: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2075:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2085:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_uri_from_filename': >redland_wrap.c:2099: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2110:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2113:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2113:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2113:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2114:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2122:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_uri': >redland_wrap.c:2134: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2141:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2149:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_uri_to_string': >redland_wrap.c:2162: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2169:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2180:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:2180:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:2184:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_uri_equals': >redland_wrap.c:2198: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2205:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2214:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:2224:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_uri_compare': >redland_wrap.c:2238: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2245:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2254:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:2264:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node': >redland_wrap.c:2277: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2294:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_string': >redland_wrap.c:2308: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2319:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2322:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2322:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2322:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2323:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2327:64: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_string(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:85:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_string(librdf_world* world, const unsigned char *uri_string); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2335:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_uri': >redland_wrap.c:2349: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2361:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:2375:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_uri_local_name': >redland_wrap.c:2390: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2402:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:2410:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2413:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2413:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2413:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2414:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:2418:73: warning: pointer targets in passing argument 3 of 'librdf_new_node_from_uri_local_name' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_uri_local_name(arg1,arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:95:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_uri_local_name(librdf_world* world, librdf_uri *uri, const unsigned char *local_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2426:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_normalised_uri_string': >redland_wrap.c:2442: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2453:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2456:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2456:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2456:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2457:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2464:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:2473:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:2479:75: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_normalised_uri_string' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_normalised_uri_string(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:99:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_normalised_uri_string(librdf_world* world, const unsigned char *uri_string, librdf_uri *source_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2487:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_literal': >redland_wrap.c:2506: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2516:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2519:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2519:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2519:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2520:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2526:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2529:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2529:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2529:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2530: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/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:2537:5: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[3]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:2537:24: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[3]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:2537:5: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[3]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:2542:61: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:103:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_literal(librdf_world* world, const unsigned char *string, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2550:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_typed_literal': >redland_wrap.c:2569: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2579:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2582:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2582:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2582:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2583:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2589:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2592:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2592:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2592:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2593:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:2601:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:2608:67: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_typed_literal' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_typed_literal(arg1,(char const *)arg2,(char const *)arg3,arg4); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:107:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_typed_literal(librdf_world *world, const unsigned char *value, const char *xml_language, librdf_uri* datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2616:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_node': >redland_wrap.c:2629: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2636:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2650:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_node_from_blank_identifier': >redland_wrap.c:2667: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2677:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2680:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2680:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:2680:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:2681:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:2686:70: warning: pointer targets in passing argument 2 of 'librdf_new_node_from_blank_identifier' differ in signedness [-Wpointer-sign] > result = (librdf_node *)librdf_new_node_from_blank_identifier(arg1,(char const *)arg2); > ^ >In file included from /usr/include/librdf.h:399:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_node.h:114:14: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_node* librdf_new_node_from_blank_identifier(librdf_world* world, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2694:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_node': >redland_wrap.c:2706: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2713:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2721:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_uri': >redland_wrap.c:2734: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2741:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2751:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_type': >redland_wrap.c:2764: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2771:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2781:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_literal_value': >redland_wrap.c:2794: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2801:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2812:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:2812:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:2815:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_literal_value_as_latin1': >redland_wrap.c:2828: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2835:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2846:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:2846:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:2849:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_literal_value_language': >redland_wrap.c:2862: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2869:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2880:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:2880:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:2883:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_literal_value_datatype_uri': >redland_wrap.c:2896: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2903:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2913:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_literal_value_is_wf_xml': >redland_wrap.c:2926: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2933:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2943:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_li_ordinal': >redland_wrap.c:2956: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2963:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2973:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_to_string': >redland_wrap.c:2986: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:2993:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:2999: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:1106: >/usr/include/rdf_node.h:171:16: note: declared here > unsigned char *librdf_node_to_string(librdf_node* node); > ^~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3004:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:3004:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:3008:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_get_blank_identifier': >redland_wrap.c:3021: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3028:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:3039:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:3039:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:3042:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_is_resource': >redland_wrap.c:3055: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3062:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:3072:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_is_literal': >redland_wrap.c:3085: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3092:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:3102:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_is_blank': >redland_wrap.c:3115: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3122:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:3132:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_node_equals': >redland_wrap.c:3146: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3153:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) > ^~ >redland_wrap.c:3162:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3172:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_statement': >redland_wrap.c:3185: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3198:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_statement_from_statement': >redland_wrap.c:3211: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3224:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_statement_from_nodes': >redland_wrap.c:3240: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3252:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3261:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:3270:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:3280:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_statement': >redland_wrap.c:3292: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3303:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_get_subject': >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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3333:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_set_subject': >redland_wrap.c:3346: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3358:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3366:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_get_predicate': >redland_wrap.c:3379: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3396:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_set_predicate': >redland_wrap.c:3409: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3421:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3429:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_get_object': >redland_wrap.c:3442: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3459:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_set_object': >redland_wrap.c:3472: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3484:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3492:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_equals': >redland_wrap.c:3506: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3524:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_match': >redland_wrap.c:3538: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3556:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_to_string': >redland_wrap.c:3569: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3578: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:1106: >/usr/include/rdf_statement.h:115:16: note: declared here > unsigned char *librdf_statement_to_string(librdf_statement *statement); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3583:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:3583:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:3587:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_statement_is_complete': >redland_wrap.c:3600: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3613:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_model': >redland_wrap.c:3628: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3644:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3647:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3647:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3647:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:3648:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:3656:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_model_with_options': >redland_wrap.c:3671: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3694:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_model_from_model': >redland_wrap.c:3707: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3720:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_model': >redland_wrap.c:3732: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3743:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_size': >redland_wrap.c:3756: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3769:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_add': >redland_wrap.c:3785: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3797:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3806:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:3815:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:3825:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_add_string_literal_statement': >redland_wrap.c:3846: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3857:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3866:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:3874:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3877:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3877:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3877:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:3878:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:3884:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3887:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3887:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3887:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:3888: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/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:3895:5: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[5]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:3895:24: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[5]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:3895:5: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[5]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:3900:74: warning: pointer targets in passing argument 4 of 'librdf_model_add_string_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_string_literal_statement(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); > ^ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_model.h:74:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_model_add_string_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, int is_wf_xml); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3904:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_add_typed_literal_statement': >redland_wrap.c:3925: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3936:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:3945:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:3953:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3956:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3956:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3956:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:3957:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:3963:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3966:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3966:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:3966:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[4]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:3967:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg5 = (char *) Z_STRVAL_PP(args[4]); > ^ >redland_wrap.c:3974:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[5])->type==IS_NULL) > ^~ >redland_wrap.c:3981:73: warning: pointer targets in passing argument 4 of 'librdf_model_add_typed_literal_statement' differ in signedness [-Wpointer-sign] > result = (int)librdf_model_add_typed_literal_statement(arg1,arg2,arg3,arg4,arg5,arg6); > ^~~~ >In file included from /usr/include/librdf.h:402:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_model.h:76:5: note: expected 'const unsigned char *' but argument is of type 'char *' > int librdf_model_add_typed_literal_statement(librdf_model* model, librdf_node* subject, librdf_node* predicate, const unsigned char* literal, const char *xml_language, librdf_uri *datatype_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:3985:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_add_statement': >redland_wrap.c:3999: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4017:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_add_statements': >redland_wrap.c:4031: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4049:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_remove_statement': >redland_wrap.c:4063: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4081:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_contains_statement': >redland_wrap.c:4095: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4113:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_as_stream': >redland_wrap.c:4126: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4143:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_find_statements': >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() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) { > ^ >/usr/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4179:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_find_statements_in_context': >redland_wrap.c:4197: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4213:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4228:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_sources': >redland_wrap.c:4243: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4255:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4264:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4278:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_arcs': >redland_wrap.c:4293: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4305:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4314:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4328:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_targets': >redland_wrap.c:4343: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4355:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4364:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4378:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_source': >redland_wrap.c:4393: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4405:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4414:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4428:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_arc': >redland_wrap.c:4443: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4455:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4464:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4478:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_arcs_out': >redland_wrap.c:4492: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4504:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4518:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_arcs_in': >redland_wrap.c:4532: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4544:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4558:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_has_arc_in': >redland_wrap.c:4573: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4585:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4594:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4604:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_has_arc_out': >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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4631:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4640:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4650:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_target': >redland_wrap.c:4665: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4677:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4686:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:4700:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_context_add_statement': >redland_wrap.c:4715: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4727:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4742:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_context_add_statements': >redland_wrap.c:4757: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4769:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4784:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_context_remove_statement': >redland_wrap.c:4799: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4811:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4826:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_context_remove_statements': >redland_wrap.c:4840: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4852:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4862:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_context_as_stream': >redland_wrap.c:4876: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4888:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4902:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_sync': >redland_wrap.c:4914: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4925:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_contexts': >redland_wrap.c:4938: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4955:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_contains_context': >redland_wrap.c:4969: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:4981:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:4991:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_get_feature': >redland_wrap.c:5005: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5017:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5031:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_set_feature': >redland_wrap.c:5046: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5058:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5067:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5077:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_load': >redland_wrap.c:5097: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5108:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5116:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5119:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5119:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5119:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5120:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:5127:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5130:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5130:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5130:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5131:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:5139:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) > ^~ >redland_wrap.c:5150:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_query_execute': >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() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) { > ^ >/usr/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5182:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_to_string': >redland_wrap.c:5202: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5213:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5221:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5224:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5224:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5224:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5225:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:5232:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5235:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5235:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5235:7: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5236:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:5244:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) > ^~ >redland_wrap.c:5256:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:5256:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:5260:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_transaction_start': >redland_wrap.c:5273: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5286:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_transaction_commit': >redland_wrap.c:5299: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5312:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_model_transaction_rollback': >redland_wrap.c:5325: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5338:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_storage': >redland_wrap.c:5354: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5365:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5368:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5368:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5368:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5369:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:5375:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5378:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5378:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5378:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5379:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:5385:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5388:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5388:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5388:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5389:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:5397:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_storage_from_storage': >redland_wrap.c:5410: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5423:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_storage': >redland_wrap.c:5435: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5446:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_check_name': >redland_wrap.c:5460: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5471:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5474:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5474:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5474:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5475:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:5483:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_parser': >redland_wrap.c:5499: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5510:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5513:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5513:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5513:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5514:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:5520:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5523:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5523:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5523:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5524:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:5531:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:5541:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_parser': >redland_wrap.c:5553: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5564:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_as_stream': >redland_wrap.c:5582: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5593:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5602:21: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5617:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_into_model': >redland_wrap.c:5633: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5645:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5654:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5669:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_string_as_stream': >redland_wrap.c:5684: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5695:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5698:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5698:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5698:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5699:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:5706:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5712:71: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_string_as_stream(arg1,(char const *)arg2,arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:66:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_string_as_stream(librdf_parser* parser, const unsigned char* string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5720:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_string_into_model': >redland_wrap.c:5736: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5747:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5750:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5750:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5750:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5751:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:5758:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5769:60: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_string_into_model(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:68:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_string_into_model(librdf_parser* parser, const unsigned char *string, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5773:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_as_stream': >redland_wrap.c:5789: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5800:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5803:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5803:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5803:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5804: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/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:5810:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:5810:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[2]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:5810:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:5817:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:5823:79: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_as_stream' differ in signedness [-Wpointer-sign] > result = (librdf_stream *)librdf_parser_parse_counted_string_as_stream(arg1,(char const *)arg2,arg3,arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:82:16: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_stream* librdf_parser_parse_counted_string_as_stream(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5831:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_parse_counted_string_into_model': >redland_wrap.c:5848: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5859:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5862:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5862:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:5862:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:5863: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/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:5869:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:5869:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[2]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:5869:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[2]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:5876:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:5887:68: warning: pointer targets in passing argument 2 of 'librdf_parser_parse_counted_string_into_model' differ in signedness [-Wpointer-sign] > result = (int)librdf_parser_parse_counted_string_into_model(arg1,(char const *)arg2,arg3,arg4,arg5); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:84:5: note: expected 'const unsigned char *' but argument is of type 'const char *' > int librdf_parser_parse_counted_string_into_model(librdf_parser* parser, const unsigned char *string, size_t length, librdf_uri* base_uri, librdf_model* model); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5891:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_get_feature': >redland_wrap.c:5905: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5917:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5931:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_set_feature': >redland_wrap.c:5946: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5958:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:5967:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:5977:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_guess_name': >redland_wrap.c:5992: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:5998:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[0])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6001:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[0]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6001:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[0]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6001:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[0]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6002:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg1 = (char *) Z_STRVAL_PP(args[0]); > ^ >redland_wrap.c:6008:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6011:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6011:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6011:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6012:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6018:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6021:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6021:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6021:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6022:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:6026:3: warning: 'librdf_parser_guess_name' is deprecated [-Wdeprecated-declarations] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^~~~~~ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:111:13: note: declared here > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6026:64: warning: pointer targets in passing argument 2 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6026:83: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:111:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6031:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6031:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6036:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:6034:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_guess_name2': >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() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) { > ^ >/usr/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6061:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6064:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6064:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6064:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6071:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6074:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6074:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6074:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6075:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:6081:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6084:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6084:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6084:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6085:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:6089:70: warning: pointer targets in passing argument 3 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6089:89: warning: pointer targets in passing argument 4 of 'librdf_parser_guess_name2' differ in signedness [-Wpointer-sign] > result = (char *)librdf_parser_guess_name2(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); > ^ >In file included from /usr/include/librdf.h:404:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_parser.h:113:13: note: expected 'const unsigned char *' but argument is of type 'const char *' > const char* librdf_parser_guess_name2(librdf_world* world, const char *mime_type, const unsigned char *buffer, const unsigned char *identifier); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6094:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6094:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6097:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_get_namespaces_seen_prefix': >redland_wrap.c:6111: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6122:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6122:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6122:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6131:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6131:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6134:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_get_namespaces_seen_uri': >redland_wrap.c:6148: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6159:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6159:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6159:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6167:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_parser_get_namespaces_seen_count': >redland_wrap.c:6180: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6193:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_query': >redland_wrap.c:6210: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6221:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6224:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6224:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6224:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6225:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6232:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:6240:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6243:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6243:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6243:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[3]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6244:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg4 = (char *) Z_STRVAL_PP(args[3]); > ^ >redland_wrap.c:6251:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) > ^~ >redland_wrap.c:6257:74: warning: pointer targets in passing argument 4 of 'librdf_new_query' differ in signedness [-Wpointer-sign] > result = (librdf_query *)librdf_new_query(arg1,(char const *)arg2,arg3,(char const *)arg4,arg5); > ^ >In file included from /usr/include/librdf.h:408:0, > from /usr/include/redland.h:30, > from redland_wrap.c:1106: >/usr/include/rdf_query.h:47:15: note: expected 'const unsigned char *' but argument is of type 'const char *' > librdf_query* librdf_new_query(librdf_world* world, const char *name, librdf_uri* uri, const unsigned char *query_string, librdf_uri* base_uri); > ^~~~~~~~~~~~~~~~ >redland_wrap.c:6261:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_query_from_query': >redland_wrap.c:6274: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6287:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_query': >redland_wrap.c:6299: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6310:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_execute': >redland_wrap.c:6324: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6342:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_get_limit': >redland_wrap.c:6355: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6368:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_set_limit': >redland_wrap.c:6382: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6393:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6393:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6393:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6401:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_get_offset': >redland_wrap.c:6414: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6427:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_set_offset': >redland_wrap.c:6441: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6452:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6452:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6452:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6460:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_as_stream': >redland_wrap.c:6473: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6490:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_count': >redland_wrap.c:6503: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6516:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_next': >redland_wrap.c:6529: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6542:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_finished': >redland_wrap.c:6555: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6568:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_binding_value': >redland_wrap.c:6582: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6593:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6593:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6593:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6605:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_binding_name': >redland_wrap.c:6619: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:418: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:6630:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >redland_wrap.c:6630:22: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [-Wincompatible-pointer-types] > convert_to_long_ex(args[1]); > ^ >/usr/include/php/Zend/zend_operators.h:379:27: note: in definition of macro 'convert_to_ex_master' > convert_to_##lower_type(pzv); \ > ^~~ >redland_wrap.c:6630:3: note: in expansion of macro 'convert_to_long_ex' > convert_to_long_ex(args[1]); > ^~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:254: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:6639:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6639:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6642:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_binding_value_by_name': >redland_wrap.c:6656: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6667:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6670:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6670:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6670:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6671:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6683:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_bindings_count': >redland_wrap.c:6696: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6709:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_to_file': >redland_wrap.c:6725: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6736:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6739:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6739:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6739:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6740:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6747:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:6756:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:6762: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:1106: >/usr/include/rdf_query.h:103:5: note: declared here > int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6766:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_to_file2': >redland_wrap.c:6783: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6794:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6797:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6797:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6797:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6798:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6804:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6807:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6807:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6807:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6808:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:6815:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:6824:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) > ^~ >redland_wrap.c:6834:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_to_string': >redland_wrap.c:6849: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6861:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:6870:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:6876: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:1106: >/usr/include/rdf_query.h:95:16: note: declared here > unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6881:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6881:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6885:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_to_string2': >redland_wrap.c:6902: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6913:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6916:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6916:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6916:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6917:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:6923:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6926:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6926:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:6926:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:6927:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:6934:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:6943:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[4])->type==IS_NULL) > ^~ >redland_wrap.c:6954:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:6954:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:6958:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_query_results': >redland_wrap.c:6970: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:6981:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_is_bindings': >redland_wrap.c:6994: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7007:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_is_boolean': >redland_wrap.c:7020: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7033:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_is_graph': >redland_wrap.c:7046: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7059:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_is_syntax': >redland_wrap.c:7072: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7085:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_query_results_get_boolean': >redland_wrap.c:7098: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7111:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_check_name': >redland_wrap.c:7125: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7136:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7139:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7139:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7139:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7140:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:7148:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_new_serializer': >redland_wrap.c:7164: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7175:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7178:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7178:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7178:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7179:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:7185:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7188:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7188:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7188:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7189:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:7196:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[3])->type==IS_NULL) > ^~ >redland_wrap.c:7206:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_serializer': >redland_wrap.c:7218: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7229:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_serialize_stream_to_file': >redland_wrap.c:7245: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7256:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7259:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7259:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7259:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7260:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:7267:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:7282:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_serialize_model_to_file': >redland_wrap.c:7298: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7309:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7312:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7312:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7312:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[1]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7313:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg2 = (char *) Z_STRVAL_PP(args[1]); > ^ >redland_wrap.c:7320:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:7335:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_serialize_stream_to_string': >redland_wrap.c:7350: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7362:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:7378:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:7378:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:7382:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_serialize_model_to_string': >redland_wrap.c:7397: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7409:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:7425:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:7425:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:7429:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_get_feature': >redland_wrap.c:7443: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7455:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:7469:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_set_feature': >redland_wrap.c:7484: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7496:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:7505:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) > ^~ >redland_wrap.c:7515:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_serializer_set_namespace': >redland_wrap.c:7530: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7542:19: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[1])->type==IS_NULL) > ^~ >redland_wrap.c:7550:17: error: 'zval {aka struct _zval_struct}' has no member named 'type' > if ((*args[2])->type==IS_NULL) { > ^~ >In file included from /usr/include/php/Zend/zend.h:31:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:378:6: note: in expansion of macro 'Z_TYPE_P' > if (Z_TYPE_P(pzv)!=upper_type) { \ > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7553:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend_types.h:341: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/include/php/Zend/zend_types.h:342:28: note: in expansion of macro 'Z_TYPE' > #define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p)) > ^~~~~~ >/usr/include/php/Zend/zend_operators.h:284:35: note: in expansion of macro 'Z_TYPE_P' > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^~~~~~~~ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7553:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_types.h:331: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/include/php/Zend/zend.h:325:0, > from redland_wrap.c:724: >/usr/include/php/Zend/zend_operators.h:284:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types] > #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); } > ^ >/usr/include/php/Zend/zend_operators.h:379:3: note: in expansion of macro 'convert_to_string' > convert_to_##lower_type(pzv); \ > ^~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:420: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:7553:5: note: in expansion of macro 'convert_to_string_ex' > convert_to_string_ex(args[2]); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_operators.h:253: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:7554:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > arg3 = (char *) Z_STRVAL_PP(args[2]); > ^ >redland_wrap.c:7562:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_free_stream': >redland_wrap.c:7574: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7585:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_stream_end': >redland_wrap.c:7598: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7611:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_stream_next': >redland_wrap.c:7624: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7637:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_stream_get_object': >redland_wrap.c:7650: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7663:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_stream_get_context': >redland_wrap.c:7676: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7685: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:1106: >/usr/include/rdf_stream.h:98:7: note: declared here > void* librdf_stream_get_context(librdf_stream* stream); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7693:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_log_message_code': >redland_wrap.c:7706: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7719:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_log_message_level': >redland_wrap.c:7732: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7745:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_log_message_facility': >redland_wrap.c:7758: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7771:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_log_message_message': >redland_wrap.c:7784: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7798:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:7798:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:7801:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_log_message_locator': >redland_wrap.c:7814: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7827:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_raptor_locator_line': >redland_wrap.c:7840: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7853:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_raptor_locator_column': >redland_wrap.c:7866: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7879:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_raptor_locator_byte': >redland_wrap.c:7892: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7905:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_raptor_locator_file': >redland_wrap.c:7918: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7932:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:7932:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:7935:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_raptor_locator_uri': >redland_wrap.c:7948: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7962:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:7962:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:7965:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_internal_test_error': >redland_wrap.c:7977: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:7988:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_internal_test_warning': >redland_wrap.c:8000: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:8011:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_short_copyright_string_get': >redland_wrap.c:8031:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8031:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8036:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8034:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_copyright_string_get': >redland_wrap.c:8054:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8054:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8059:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8057:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_version_string_get': >redland_wrap.c:8077:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8077:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8082:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8080:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_version_major_get': >redland_wrap.c:8101:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8099:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_version_minor_get': >redland_wrap.c:8120:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8118:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_version_release_get': >redland_wrap.c:8139:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8137:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_version_decimal_get': >redland_wrap.c:8158:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8156:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_raptor_version_string_get': >redland_wrap.c:8176:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8176:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8181:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8179:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_raptor_version_major_get': >redland_wrap.c:8200:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8198:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_raptor_version_minor_get': >redland_wrap.c:8219:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8217:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_raptor_version_release_get': >redland_wrap.c:8238:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8236:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_raptor_version_decimal_get': >redland_wrap.c:8257:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8255:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_rasqal_version_string_get': >redland_wrap.c:8275:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8275:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8280:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8278:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_rasqal_version_major_get': >redland_wrap.c:8299:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8297:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_rasqal_version_minor_get': >redland_wrap.c:8318:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8316:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_rasqal_version_release_get': >redland_wrap.c:8337:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8335:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_rasqal_version_decimal_get': >redland_wrap.c:8356:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8354:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_get_world': >redland_wrap.c:8375:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8373:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from redland_wrap.c:725:0: >redland_wrap.c: In function '_wrap_librdf_php_world_set_logger': >redland_wrap.c:8385: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/include/php/Zend/zend_API.h:260:45: note: in definition of macro 'zend_get_parameters_array_ex' > _zend_get_parameters_array_ex(param_count, argument_array) > ^~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:252: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_array); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >redland_wrap.c:8396:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_world_finish': >redland_wrap.c:8413:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8411:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_get_null_node': >redland_wrap.c:8436:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8434:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_get_null_uri': >redland_wrap.c:8455:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8453:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_last_log_level': >redland_wrap.c:8474:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8472:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_last_log_code': >redland_wrap.c:8493:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8491:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_last_log_message': >redland_wrap.c:8511:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 > ZVAL_STRING(return_value, (char *)result, 1); > ^ >redland_wrap.c:8511:7: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'? > ZVAL_STRING(return_value, (char *)result, 1); > ^~~~~~~~~~~ > ZEND_STR_LINE >redland_wrap.c:8516:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8514:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >redland_wrap.c: In function '_wrap_librdf_php_free_last_log': >redland_wrap.c:8531:1: warning: label 'fail' defined but not used [-Wunused-label] > fail: > ^~~~ >redland_wrap.c:8529:1: warning: label 'thrown' defined but not used [-Wunused-label] > thrown: > ^~~~~~ >In file included from /usr/include/php/Zend/zend.h:33:0, > from redland_wrap.c:724: >redland_wrap.c: In function '_swig_default_rsrc_destroy': >redland_wrap.c:8537:9: error: 'rsrc' undeclared (first use in this function) > efree(rsrc->ptr); > ^ >/usr/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:9125:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_STRING; > ^~ >redland_wrap.c:9127:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = estrdup(librdf_short_copyright_string); > ^ > -> >redland_wrap.c:9128:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = strlen(librdf_short_copyright_string); > ^ > -> >redland_wrap.c:9130:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = 0; > ^ > -> >redland_wrap.c:9131:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = 0; > ^ > -> >redland_wrap.c:9133:153: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_short_copyright_string", sizeof("librdf_short_copyright_string"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9133:3: error: 'zend_hash_add' undeclared (first use in this function); did you mean '_zend_hash_add'? > zend_hash_add(&EG(symbol_table), (char*)"librdf_short_copyright_string", sizeof("librdf_short_copyright_string"), (void *)&z_var, sizeof(zval *), NULL); > ^~~~~~~~~~~~~ > _zend_hash_add >redland_wrap.c:9138:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_STRING; > ^~ >redland_wrap.c:9140:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = estrdup(librdf_copyright_string); > ^ > -> >redland_wrap.c:9141:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = strlen(librdf_copyright_string); > ^ > -> >redland_wrap.c:9143:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = 0; > ^ > -> >redland_wrap.c:9144:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = 0; > ^ > -> >redland_wrap.c:9146:141: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_copyright_string", sizeof("librdf_copyright_string"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9151:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_STRING; > ^~ >redland_wrap.c:9153:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = estrdup(librdf_version_string); > ^ > -> >redland_wrap.c:9154:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = strlen(librdf_version_string); > ^ > -> >redland_wrap.c:9156:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = 0; > ^ > -> >redland_wrap.c:9157:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = 0; > ^ > -> >redland_wrap.c:9159:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_version_string", sizeof("librdf_version_string"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9164:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9166:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_version_major", sizeof("librdf_version_major"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9171:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9173:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_version_minor", sizeof("librdf_version_minor"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9178:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9180:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_version_release", sizeof("librdf_version_release"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9185:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9187:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"librdf_version_decimal", sizeof("librdf_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9192:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_STRING; > ^~ >redland_wrap.c:9194:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = estrdup(raptor_version_string); > ^ > -> >redland_wrap.c:9195:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = strlen(raptor_version_string); > ^ > -> >redland_wrap.c:9197:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = 0; > ^ > -> >redland_wrap.c:9198:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = 0; > ^ > -> >redland_wrap.c:9200:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"raptor_version_string", sizeof("raptor_version_string"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9205:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9207:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"raptor_version_major", sizeof("raptor_version_major"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9212:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9214:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"raptor_version_minor", sizeof("raptor_version_minor"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9219:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9221:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"raptor_version_release", sizeof("raptor_version_release"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9226:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9228:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"raptor_version_decimal", sizeof("raptor_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9233:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_STRING; > ^~ >redland_wrap.c:9235:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = estrdup(rasqal_version_string); > ^ > -> >redland_wrap.c:9236:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = strlen(rasqal_version_string); > ^ > -> >redland_wrap.c:9238:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.val = 0; > ^ > -> >redland_wrap.c:9239:23: error: 'z_var->value.str' is a pointer; did you mean to use '->'? > z_var->value.str.len = 0; > ^ > -> >redland_wrap.c:9241:137: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"rasqal_version_string", sizeof("rasqal_version_string"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9246:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9248:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"rasqal_version_major", sizeof("rasqal_version_major"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9253:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9255:135: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"rasqal_version_minor", sizeof("rasqal_version_minor"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9260:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9262:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"rasqal_version_release", sizeof("rasqal_version_release"), (void *)&z_var, sizeof(zval *), NULL); > ^ >redland_wrap.c:9267:8: error: 'zval {aka struct _zval_struct}' has no member named 'type' > z_var->type = IS_LONG; > ^~ >redland_wrap.c:9269:139: error: macro "zend_hash_add" passed 6 arguments, but takes just 3 > zend_hash_add(&EG(symbol_table), (char*)"rasqal_version_decimal", sizeof("rasqal_version_decimal"), (void *)&z_var, sizeof(zval *), NULL); > ^ >make: *** [Makefile:532: redland_wrap.o] Error 1 >error: Bad exit status from /var/tmp/rpm-tmp.3X8xAf (%install) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.3X8xAf (%install) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/redland-bindings.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1424251
: 1254032 |
1254033
|
1254034