[pkg-kolab] Bug#821687: Bug#821687: src:libkolabxml: PHP 7.0 Transition

Sandro Knauß bugs at sandroknauss.de
Fri Apr 29 12:01:46 UTC 2016


Control: block -1 821715

We need to wait till swig supports php7. See error log.

Regards,

sandro

--
Am Montag, 18. April 2016, 23:02:29 CEST schrieb Ondřej Surý:
> Package: src:libkolabxml
> Severity: important
> User: pkg-php-maint at lists.alioth.debian.org
> Usertags: php7.0-transition
> 
> Dear maintainer(s),
> 
> this bug is a part of ongoing php7.0 transition.  It is filled as
> important, but the severity will be bumped to serious within quite short
> (~month) timeframe as the transition was announced almost 3 months ago.
> 
> The libkolabxml package currently build-depends on php5 php5-cli
> php5-dev .
> 
> PHP 7.0 has landed in unstable with substantial changes to the packaging:
> 
>   1. Every package built from src:phpMAJOR.MINOR now include
>      phpMAJOR.MINOR in the name, so f.e. php5-fpm is now php7.0-fpm.
> 
>   2. Accompanying src:php-defaults builds 1:1 mapping to a default
>      MAJOR.MINOR version, e.g. php-fpm depends on php7.0-fpm.  When you
>      specify a dependency, please use the generic name, unless you
>      absolutely know that won't work for you.
> 
>   3. Every path in the system has been changed to a versioned, e.g.
>      /etc/php5/cli is now /etc/php/7.0/cli
> 
>   4. dh_php5 is now dh_php
> 
>   5. php-pear is not built from independent source package.
> 
>   6. master-7.0 branches of several extensions (php-apcu, xdebug,
>      php-apcu-bc) can be used as a template how to change the PHP
>      extension packaging.  It's mostly cut&paste since the d/rules tries
>      to figure-out most of the variables from debian/ directory.
> 
>   7. pkg-php-tools package now supports PHP 7.0 packaging and if your
>      package uses pkg-php-tools a simple binNMU is all it might need
> 
>   8. PHP 7.0 has changed extension API, so most-if-not-all extensions
>      need work from upstream to be compatible with PHP 7.0.
> 
>   9. We expect to ship next Debian release (stretch) only with PHP
>      7.0, that means that all packages needs to be made compatible with
>      PHP 7.0.  Fortunately the PHP 7.0 is mostly compatible with properly
>      maintained software.  However some extensions has been deprecated
>      (f.e. mysql) and thus old unmaintained software will stop working
>      and it will have to be either patched or removed from stable Debian.
> 
> So what you need to do:
> 
> Replace every occurence of php5 with just php, e.g. if you depend on
> 'php5' then you just need to depend on 'php'.  Also if you package a web
> application and depend on specific SAPI, I would recommend depending just
> on 'php' package and let the user decide whether he will install php-fpm,
> libapache2-mod-php or php-cgi.
> 
> The script that was used to get the list of packages for MBF was not a
> particular smart one (so it doesn't detect alternatives, etc.), so if
> there's a false positive, please excuse me and just close the bug with
> short explanation.
> 
> The other options that might be used with packages that don't and won't
> support PHP 7.0 is to remove the software from Debian by changing the
> title of this bugreport to:
> 
>     RM: libkolabxml -- ROM; doesn't support PHP 7.0
> 
> reassigning it to ftp.debian.org pseudo-package and changing severity to
> 'normal'.
> 
> Also feel free to contact the maintainers at one of the lists:
> 
> pkg-php-pear at lists.alioth.debian.org -- for PEAR related packages
> pkg-php-pecl at lists.alioth.debian.org -- for PHP extensions
> pkg-php-maint at lists.alioth.debian.org -- main PHP packaging and catch-all
> 
> Cheers, Ondrej
> 
> -- System Information:
> Debian Release: 8.4
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
> 'stable') Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.2.0-35-generic (SMP w/24 CPU cores)
> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> 
> _______________________________________________
> pkg-kolab-devel mailing list
> pkg-kolab-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kolab-devel

-------------- next part --------------
sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on tuxin.local

+==============================================================================+
| libkolabxml 1.1.2-2~ (amd64)                               29 Apr 2016 13:18 |
+==============================================================================+

Package: libkolabxml
Version: 1.1.2-2~
Source Version: 1.1.2-2~
Distribution: test2-amd64
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64

I: NOTICE: Log filtering will replace 'build/libkolabxml-q9kMxX/libkolabxml-1.1.2' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/libkolabxml-q9kMxX' with '<<BUILDDIR>>'
I: NOTICE: Log filtering will replace 'var/run/schroot/mount/test2-amd64-def6303e-b8d6-40d0-84d9-f279aebde34b' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://debian sid InRelease [196 kB]
Get:2 http://debian sid/main Sources.diff/Index [27.9 kB]
Get:3 http://debian sid/non-free Sources.diff/Index [15.0 kB]
Get:4 http://debian sid/main amd64 Packages.diff/Index [27.9 kB]
Get:5 http://debian sid/main Translation-en.diff/Index [27.9 kB]
Get:6 http://debian sid/non-free amd64 Packages.diff/Index [13.5 kB]
Get:7 http://debian sid/main Sources 2016-04-28-2058.30.pdiff [27.0 kB]
Get:8 http://debian sid/main Sources 2016-04-29-0313.20.pdiff [16.6 kB]
Get:9 http://debian sid/main Sources 2016-04-29-0920.03.pdiff [5797 B]
Get:10 http://debian sid/non-free Sources 2016-04-29-0920.03.pdiff [415 B]
Get:11 http://debian sid/main amd64 Packages 2016-04-28-2058.30.pdiff [35.9 kB]
Get:12 http://debian sid/main amd64 Packages 2016-04-29-0313.20.pdiff [17.7 kB]
Get:13 http://debian sid/main amd64 Packages 2016-04-29-0920.03.pdiff [3076 B]
Get:14 http://debian sid/main Translation-en 2016-04-28-2058.30.pdiff [4362 B]
Get:15 http://debian sid/main Translation-en 2016-04-29-0313.20.pdiff [1486 B]
Get:16 http://debian sid/non-free amd64 Packages 2016-04-29-0920.03.pdiff [724 B]
Get:9 http://debian sid/main Sources 2016-04-29-0920.03.pdiff [5797 B]
Get:10 http://debian sid/non-free Sources 2016-04-29-0920.03.pdiff [415 B]
Get:13 http://debian sid/main amd64 Packages 2016-04-29-0920.03.pdiff [3076 B]
Get:15 http://debian sid/main Translation-en 2016-04-29-0313.20.pdiff [1486 B]
Get:16 http://debian sid/non-free amd64 Packages 2016-04-29-0920.03.pdiff [724 B]
Fetched 422 kB in 3s (108 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  dmsetup libdevmapper1.02.1
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 285 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://debian sid/main amd64 dmsetup amd64 2:1.02.123-1 [105 kB]
Get:2 http://debian sid/main amd64 libdevmapper1.02.1 amd64 2:1.02.123-1 [180 kB]
Fetched 285 kB in 0s (7451 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12508 files and directories currently installed.)
Preparing to unpack .../dmsetup_2%3a1.02.123-1_amd64.deb ...
Unpacking dmsetup (2:1.02.123-1) over (2:1.02.122-1) ...
Setting up dmsetup (2:1.02.123-1) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12508 files and directories currently installed.)
Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.123-1_amd64.deb ...
Unpacking libdevmapper1.02.1:amd64 (2:1.02.123-1) over (2:1.02.122-1) ...
Processing triggers for libc-bin (2.22-7) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.123-1) ...
Processing triggers for libc-bin (2.22-7) ...

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Local sources
-------------

/home/hefee/debian/pkg-kolab/libkolabxml_1.1.2-2~.dsc exists in /home/hefee/debian/pkg-kolab; copying to chroot

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-kmhiYd/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Get:1 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Release [2119 B]
Get:2 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Release [2119 B]
Get:3 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Release.gpg [299 B]
Get:3 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Release.gpg [299 B]
Get:4 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Sources [214 B]
Get:5 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Packages [523 B]
Ign:4 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Sources
Get:4 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Sources [276 B]
Ign:5 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Packages
Get:5 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ Packages [759 B]
Reading package lists...
W: file:///<<BUILDDIR>>/resolver-kmhiYd/apt_archive/./Release.gpg: Signature by key 1F69C5606817BA4FB95066FB3BF73F1C5CCB59FC uses weak digest algorithm (SHA1)
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/772 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/<<BUILDDIR>>/resolver-kmhiYd/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [772 B]
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12508 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (amd64 included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: cmake, debhelper (>= 9), dh-python, pkg-kde-tools (>= 0.12), libxerces-c-dev, xsdcxx (>= 4.0), uuid-dev, libboost-dev, libboost-system-dev, libboost-thread-dev, swig, libcurl4-gnutls-dev, php-dev, php-cli, python-dev (>= 2.7), python3-dev, libqt4-dev
Filtered Build-Depends: cmake, debhelper (>= 9), dh-python, pkg-kde-tools (>= 0.12), libxerces-c-dev, xsdcxx (>= 4.0), uuid-dev, libboost-dev, libboost-system-dev, libboost-thread-dev, swig, libcurl4-gnutls-dev, php-dev, php-cli, python-dev (>= 2.7), python3-dev, libqt4-dev
dpkg-deb: building package 'sbuild-build-depends-libkolabxml-dummy' in '/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive/sbuild-build-depends-libkolabxml-dummy.deb'.
OK
Get:1 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Release [2119 B]
Get:2 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Release [2119 B]
Get:3 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Release.gpg [299 B]
Get:3 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Release.gpg [299 B]
Get:4 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Sources [323 B]
Get:5 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Packages [646 B]
Ign:4 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Sources
Ign:5 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Packages
Get:4 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Sources [501 B]
Get:5 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ Packages [998 B]
Reading package lists...
W: file:///<<BUILDDIR>>/resolver-Xmxrfh/apt_archive/./Release.gpg: Signature by key 1F69C5606817BA4FB95066FB3BF73F1C5CCB59FC uses weak digest algorithm (SHA1)
Reading package lists...

Install libkolabxml build dependencies (apt-based resolver)
-----------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cmake cmake-data
  debhelper dh-autoreconf dh-python dh-strip-nondeterminism file fontconfig
  fontconfig-config fonts-dejavu-core gettext gettext-base groff-base
  icu-devtools intltool-debian libarchive-zip-perl libarchive13 libaudio2
  libboost-atomic1.58-dev libboost-atomic1.58.0 libboost-chrono1.58-dev
  libboost-chrono1.58.0 libboost-date-time1.58-dev libboost-date-time1.58.0
  libboost-dev libboost-serialization1.58-dev libboost-serialization1.58.0
  libboost-system-dev libboost-system1.58-dev libboost-system1.58.0
  libboost-thread-dev libboost-thread1.58-dev libboost-thread1.58.0
  libboost1.58-dev libbsd0 libcroco3 libcurl3 libcurl3-gnutls
  libcurl4-gnutls-dev libdbus-1-3 libedit2 libexpat1 libexpat1-dev libffi6
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libglib2.0-0
  libgnutls30 libgssapi-krb5-2 libhogweed4 libice6 libicu-dev libicu55
  libidn11 libjbig0 libjpeg62-turbo libjsoncpp1 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblzo2-2 libmagic1
  libmng1 libmpdec2 libnettle6 libnghttp2-14 libp11-kit0 libpcre16-3
  libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpng16-16 libprocps5
  libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libpython3-dev libpython3-stdlib
  libpython3.5 libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib
  libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin
  libqt4-help libqt4-network libqt4-qt3support libqt4-script
  libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml
  libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 librtmp1 libsasl2-2
  libsasl2-modules-db libsigsegv2 libsm6 libsqlite3-0 libssh2-1 libssl-dev
  libssl1.0.2 libtasn1-6 libtiff5 libtimedate-perl libtool libunistring0
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxerces-c-dev
  libxerces-c3.1 libxext6 libxml2 libxrender1 libxt6 m4 man-db mime-support
  php-common php-dev php7.0-cli php7.0-common php7.0-dev php7.0-json
  php7.0-opcache php7.0-readline pkg-kde-tools po-debconf procps psmisc python
  python-dev python-minimal python2.7 python2.7-dev python2.7-minimal python3
  python3-dev python3-minimal python3.5 python3.5-dev python3.5-minimal qdbus
  qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n shtool swig swig3.0 ucf
  uuid-dev x11-common xsdcxx zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation codeblocks eclipse ninja-build dh-make gettext-doc libasprintf-dev
  libgettextpo-dev groff lrzip nas libboost-doc libboost1.58-doc
  libboost-context1.58-dev libboost-coroutine1.58-dev
  libboost-exception1.58-dev libboost-filesystem1.58-dev
  libboost-graph1.58-dev libboost-graph-parallel1.58-dev
  libboost-iostreams1.58-dev libboost-locale1.58-dev libboost-log1.58-dev
  libboost-math1.58-dev libboost-mpi1.58-dev libboost-mpi-python1.58-dev
  libboost-program-options1.58-dev libboost-python1.58-dev
  libboost-random1.58-dev libboost-regex1.58-dev libboost-signals1.58-dev
  libboost-test1.58-dev libboost-timer1.58-dev libboost-wave1.58-dev
  libboost1.58-tools-dev libmpfrc++-dev libntl-dev libcurl4-doc libcurl3-dbg
  libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev
  libssh2-1-dev pkg-config gnutls-bin krb5-doc krb5-user icu-doc
  liblcms2-utils libqt4-declarative-folderlistmodel
  libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer firebird-dev libmysqlclient-dev
  libpq-dev libsqlite0-dev libsqlite3-dev qt4-dev-tools qt4-doc unixodbc-dev
  libthai0 qt4-qtconfig libtool-doc gfortran | fortran95-compiler gcj-jdk
  libxerces-c-doc less www-browser php-pear cdbs libmail-box-perl python-doc
  python-tk python2.7-doc binfmt-support python3-doc python3-tk python3-venv
  python3.5-venv python3.5-doc swig-doc swig-examples swig3.0-examples
  swig3.0-doc
Recommended packages:
  curl | wget | lynx-cur ca-certificates dbus libglib2.0-data shared-mime-info
  xdg-user-dirs krb5-locales libqt4-opengl-dev libqt4-sql-mysql
  | libqt4-sql-odbc | libqt4-sql-psql | libqt4-sql-sqlite | libqt4-sql-sqlite2
  | libqt4-sql-ibase libcups2 qt-at-spi libsasl2-modules libssl-doc
  libltdl-dev xml-core dh-php pkg-php-tools libwww-perl libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cmake cmake-data
  debhelper dh-autoreconf dh-python dh-strip-nondeterminism file fontconfig
  fontconfig-config fonts-dejavu-core gettext gettext-base groff-base
  icu-devtools intltool-debian libarchive-zip-perl libarchive13 libaudio2
  libboost-atomic1.58-dev libboost-atomic1.58.0 libboost-chrono1.58-dev
  libboost-chrono1.58.0 libboost-date-time1.58-dev libboost-date-time1.58.0
  libboost-dev libboost-serialization1.58-dev libboost-serialization1.58.0
  libboost-system-dev libboost-system1.58-dev libboost-system1.58.0
  libboost-thread-dev libboost-thread1.58-dev libboost-thread1.58.0
  libboost1.58-dev libbsd0 libcroco3 libcurl3 libcurl3-gnutls
  libcurl4-gnutls-dev libdbus-1-3 libedit2 libexpat1 libexpat1-dev libffi6
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libglib2.0-0
  libgnutls30 libgssapi-krb5-2 libhogweed4 libice6 libicu-dev libicu55
  libidn11 libjbig0 libjpeg62-turbo libjsoncpp1 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblzo2-2 libmagic1
  libmng1 libmpdec2 libnettle6 libnghttp2-14 libp11-kit0 libpcre16-3
  libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpng16-16 libprocps5
  libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libpython3-dev libpython3-stdlib
  libpython3.5 libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib
  libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin
  libqt4-help libqt4-network libqt4-qt3support libqt4-script
  libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml
  libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 librtmp1 libsasl2-2
  libsasl2-modules-db libsigsegv2 libsm6 libsqlite3-0 libssh2-1 libssl-dev
  libssl1.0.2 libtasn1-6 libtiff5 libtimedate-perl libtool libunistring0
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxerces-c-dev
  libxerces-c3.1 libxext6 libxml2 libxrender1 libxt6 m4 man-db mime-support
  php-common php-dev php7.0-cli php7.0-common php7.0-dev php7.0-json
  php7.0-opcache php7.0-readline pkg-kde-tools po-debconf procps psmisc python
  python-dev python-minimal python2.7 python2.7-dev python2.7-minimal python3
  python3-dev python3-minimal python3.5 python3.5-dev python3.5-minimal qdbus
  qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n
  sbuild-build-depends-libkolabxml-dummy shtool swig swig3.0 ucf uuid-dev
  x11-common xsdcxx zlib1g-dev
0 upgraded, 179 newly installed, 0 to remove and 0 not upgraded.
Need to get 161 MB/161 MB of archives.
After this operation, 559 MB of additional disk space will be used.
Get:1 file:/<<BUILDDIR>>/resolver-Xmxrfh/apt_archive ./ sbuild-build-depends-libkolabxml-dummy 0.invalid.0 [894 B]
Get:2 http://debian sid/main amd64 groff-base amd64 1.22.3-7 [1175 kB]
Get:3 http://debian sid/main amd64 libbsd0 amd64 0.8.3-1 [83.0 kB]
Get:4 http://debian sid/main amd64 bsdmainutils amd64 9.0.10 [184 kB]
Get:5 http://debian sid/main amd64 libpipeline1 amd64 1.4.1-2 [27.6 kB]
Get:6 http://debian sid/main amd64 man-db amd64 2.7.5-1 [1003 kB]
Get:7 http://debian sid/main amd64 libpython2.7-minimal amd64 2.7.11-8 [382 kB]
Get:8 http://debian sid/main amd64 python2.7-minimal amd64 2.7.11-8 [1341 kB]
Get:9 http://debian sid/main amd64 python-minimal amd64 2.7.11-1 [40.1 kB]
Get:10 http://debian sid/main amd64 mime-support all 3.59 [36.4 kB]
Get:11 http://debian sid/main amd64 libexpat1 amd64 2.1.1-1 [80.7 kB]
Get:12 http://debian sid/main amd64 libffi6 amd64 3.2.1-4 [20.4 kB]
Get:13 http://debian sid/main amd64 libsqlite3-0 amd64 3.12.2-1 [540 kB]
Get:14 http://debian sid/main amd64 libssl1.0.2 amd64 1.0.2g-2 [1286 kB]
Get:15 http://debian sid/main amd64 libpython2.7-stdlib amd64 2.7.11-8 [1853 kB]
Get:16 http://debian sid/main amd64 python2.7 amd64 2.7.11-8 [269 kB]
Get:17 http://debian sid/main amd64 libpython-stdlib amd64 2.7.11-1 [19.5 kB]
Get:18 http://debian sid/main amd64 python amd64 2.7.11-1 [151 kB]
Get:19 http://debian sid/main amd64 cmake-data all 3.5.2-1 [1131 kB]
Get:20 http://debian sid/main amd64 libprocps5 amd64 2:3.3.11-3 [56.5 kB]
Get:21 http://debian sid/main amd64 procps amd64 2:3.3.11-3 [247 kB]
Get:22 http://debian sid/main amd64 liblzo2-2 amd64 2.08-1.2 [54.6 kB]
Get:23 http://debian sid/main amd64 libnettle6 amd64 3.2-1 [191 kB]
Get:24 http://debian sid/main amd64 libicu55 amd64 55.1-7 [7649 kB]
Get:25 http://debian sid/main amd64 libxml2 amd64 2.9.3+dfsg1-1 [916 kB]
Get:26 http://debian sid/main amd64 libarchive13 amd64 3.1.2-11+b1 [269 kB]
Get:27 http://debian sid/main amd64 libkeyutils1 amd64 1.5.9-8 [12.2 kB]
Get:28 http://debian sid/main amd64 libkrb5support0 amd64 1.13.2+dfsg-5 [60.2 kB]
Get:29 http://debian sid/main amd64 libk5crypto3 amd64 1.13.2+dfsg-5 [114 kB]
Get:30 http://debian sid/main amd64 libkrb5-3 amd64 1.13.2+dfsg-5 [309 kB]
Get:31 http://debian sid/main amd64 libgssapi-krb5-2 amd64 1.13.2+dfsg-5 [152 kB]
Get:32 http://debian sid/main amd64 libidn11 amd64 1.32-3 [113 kB]
Get:33 http://debian sid/main amd64 libhogweed4 amd64 3.2-1 [136 kB]
Get:34 http://debian sid/main amd64 libp11-kit0 amd64 0.23.2-3 [111 kB]
Get:35 http://debian sid/main amd64 libtasn1-6 amd64 4.8-1 [49.5 kB]
Get:36 http://debian sid/main amd64 libgnutls30 amd64 3.4.11-4 [791 kB]
Get:37 http://debian sid/main amd64 libsasl2-modules-db amd64 2.1.26.dfsg1-15 [66.9 kB]
Get:38 http://debian sid/main amd64 libsasl2-2 amd64 2.1.26.dfsg1-15 [103 kB]
Get:39 http://debian sid/main amd64 libldap-2.4-2 amd64 2.4.42+dfsg-2+b2 [222 kB]
Get:40 http://debian sid/main amd64 libnghttp2-14 amd64 1.10.0-1 [82.7 kB]
Get:41 http://debian sid/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-1 [60.0 kB]
Get:42 http://debian sid/main amd64 libssh2-1 amd64 1.5.0-2.1 [133 kB]
Get:43 http://debian sid/main amd64 libcurl3 amd64 7.47.0-1 [275 kB]
Get:44 http://debian sid/main amd64 libjsoncpp1 amd64 1.7.2-1 [74.9 kB]
Get:45 http://debian sid/main amd64 cmake amd64 3.5.2-1 [2639 kB]
Get:46 http://debian sid/main amd64 libpng16-16 amd64 1.6.21-4 [273 kB]
Get:47 http://debian sid/main amd64 libfreetype6 amd64 2.6.3-3+b1 [437 kB]
Get:48 http://debian sid/main amd64 ucf all 3.0036 [70.2 kB]
Get:49 http://debian sid/main amd64 fonts-dejavu-core all 2.35-1 [1064 kB]
Get:50 http://debian sid/main amd64 fontconfig-config all 2.11.0-6.4 [271 kB]
Get:51 http://debian sid/main amd64 libfontconfig1 amd64 2.11.0-6.4 [330 kB]
Get:52 http://debian sid/main amd64 fontconfig amd64 2.11.0-6.4 [403 kB]
Get:53 http://debian sid/main amd64 libxau6 amd64 1:1.0.8-1 [20.7 kB]
Get:54 http://debian sid/main amd64 x11-common all 1:7.7+15 [251 kB]
Get:55 http://debian sid/main amd64 libice6 amd64 2:1.0.9-1+b1 [58.8 kB]
Get:56 http://debian sid/main amd64 libsm6 amd64 2:1.2.2-1+b1 [33.6 kB]
Get:57 http://debian sid/main amd64 libxdmcp6 amd64 1:1.1.2-1.1 [26.2 kB]
Get:58 http://debian sid/main amd64 libxcb1 amd64 1.11.1-1 [44.1 kB]
Get:59 http://debian sid/main amd64 libx11-data all 2:1.6.3-1 [128 kB]
Get:60 http://debian sid/main amd64 libx11-6 amd64 2:1.6.3-1 [742 kB]
Get:61 http://debian sid/main amd64 libxt6 amd64 1:1.1.5-1 [188 kB]
Get:62 http://debian sid/main amd64 libaudio2 amd64 1.9.4-4 [79.6 kB]
Get:63 http://debian sid/main amd64 libjpeg62-turbo amd64 1:1.4.2-2 [126 kB]
Get:64 http://debian sid/main amd64 liblcms2-2 amd64 2.7-1 [140 kB]
Get:65 http://debian sid/main amd64 libmng1 amd64 1.0.10+dfsg-3.1+b3 [217 kB]
Get:66 http://debian sid/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1 [150 kB]
Get:67 http://debian sid/main amd64 libunistring0 amd64 0.9.3-5.2+b1 [288 kB]
Get:68 http://debian sid/main amd64 libxext6 amd64 2:1.3.3-1 [52.7 kB]
Get:69 http://debian sid/main amd64 libpython3.5-minimal amd64 3.5.1-11 [559 kB]
Get:70 http://debian sid/main amd64 python3.5-minimal amd64 3.5.1-11 [1630 kB]
Get:71 http://debian sid/main amd64 python3-minimal amd64 3.5.1-3 [35.1 kB]
Get:72 http://debian sid/main amd64 libmpdec2 amd64 2.4.2-1 [85.2 kB]
Get:73 http://debian sid/main amd64 libpython3.5-stdlib amd64 3.5.1-11 [2112 kB]
Get:74 http://debian sid/main amd64 python3.5 amd64 3.5.1-11 [199 kB]
Get:75 http://debian sid/main amd64 libpython3-stdlib amd64 3.5.1-3 [18.6 kB]
Get:76 http://debian sid/main amd64 dh-python all 2.20151103 [76.9 kB]
Get:77 http://debian sid/main amd64 python3 amd64 3.5.1-3 [21.6 kB]
Get:78 http://debian sid/main amd64 libjbig0 amd64 2.1-3.1 [30.7 kB]
Get:79 http://debian sid/main amd64 libmagic1 amd64 1:5.25-2 [255 kB]
Get:80 http://debian sid/main amd64 file amd64 1:5.25-2 [61.5 kB]
Get:81 http://debian sid/main amd64 gettext-base amd64 0.19.7-2 [115 kB]
Get:82 http://debian sid/main amd64 libedit2 amd64 3.1-20150325-1+b1 [85.2 kB]
Get:83 http://debian sid/main amd64 libsigsegv2 amd64 2.10-5 [28.9 kB]
Get:84 http://debian sid/main amd64 m4 amd64 1.4.17-5 [255 kB]
Get:85 http://debian sid/main amd64 autoconf all 2.69-10 [338 kB]
Get:86 http://debian sid/main amd64 autotools-dev all 20150820.1 [71.7 kB]
Get:87 http://debian sid/main amd64 automake all 1:1.15-4 [735 kB]
Get:88 http://debian sid/main amd64 autopoint all 0.19.7-2 [424 kB]
Get:89 http://debian sid/main amd64 libglib2.0-0 amd64 2.48.0-1 [2700 kB]
Get:90 http://debian sid/main amd64 libcroco3 amd64 0.6.11-1 [143 kB]
Get:91 http://debian sid/main amd64 gettext amd64 0.19.7-2 [1482 kB]
Get:92 http://debian sid/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:93 http://debian sid/main amd64 po-debconf all 1.0.19 [249 kB]
Get:94 http://debian sid/main amd64 libarchive-zip-perl all 1.57-1 [95.1 kB]
Get:95 http://debian sid/main amd64 libfile-stripnondeterminism-perl all 0.016-1 [11.9 kB]
Get:96 http://debian sid/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB]
Get:97 http://debian sid/main amd64 dh-strip-nondeterminism all 0.016-1 [6998 B]
Get:98 http://debian sid/main amd64 libtool all 2.4.6-0.1 [200 kB]
Get:99 http://debian sid/main amd64 dh-autoreconf all 12 [15.8 kB]
Get:100 http://debian sid/main amd64 debhelper all 9.20160403 [800 kB]
Get:101 http://debian sid/main amd64 icu-devtools amd64 55.1-7 [174 kB]
Get:102 http://debian sid/main amd64 libboost1.58-dev amd64 1.58.0+dfsg-5+b1 [6256 kB]
Get:103 http://debian sid/main amd64 libboost-atomic1.58.0 amd64 1.58.0+dfsg-5+b1 [29.2 kB]
Get:104 http://debian sid/main amd64 libboost-atomic1.58-dev amd64 1.58.0+dfsg-5+b1 [28.1 kB]
Get:105 http://debian sid/main amd64 libboost-system1.58.0 amd64 1.58.0+dfsg-5+b1 [31.1 kB]
Get:106 http://debian sid/main amd64 libboost-chrono1.58.0 amd64 1.58.0+dfsg-5+b1 [36.3 kB]
Get:107 http://debian sid/main amd64 libboost-chrono1.58-dev amd64 1.58.0+dfsg-5+b1 [38.6 kB]
Get:108 http://debian sid/main amd64 libboost-date-time1.58.0 amd64 1.58.0+dfsg-5+b1 [42.6 kB]
Get:109 http://debian sid/main amd64 libboost-serialization1.58.0 amd64 1.58.0+dfsg-5+b1 [136 kB]
Get:110 http://debian sid/main amd64 libboost-serialization1.58-dev amd64 1.58.0+dfsg-5+b1 [169 kB]
Get:111 http://debian sid/main amd64 libboost-date-time1.58-dev amd64 1.58.0+dfsg-5+b1 [50.6 kB]
Get:112 http://debian sid/main amd64 libboost-dev amd64 1.58.0.1 [3458 B]
Get:113 http://debian sid/main amd64 libboost-system1.58-dev amd64 1.58.0+dfsg-5+b1 [31.6 kB]
Get:114 http://debian sid/main amd64 libboost-system-dev amd64 1.58.0.1 [3246 B]
Get:115 http://debian sid/main amd64 libboost-thread1.58.0 amd64 1.58.0+dfsg-5+b1 [70.1 kB]
Get:116 http://debian sid/main amd64 libboost-thread1.58-dev amd64 1.58.0+dfsg-5+b1 [72.0 kB]
Get:117 http://debian sid/main amd64 libboost-thread-dev amd64 1.58.0.1 [3120 B]
Get:118 http://debian sid/main amd64 libcurl3-gnutls amd64 7.47.0-1 [273 kB]
Get:119 http://debian sid/main amd64 libcurl4-gnutls-dev amd64 7.47.0-1 [354 kB]
Get:120 http://debian sid/main amd64 libdbus-1-3 amd64 1.10.8-1 [188 kB]
Get:121 http://debian sid/main amd64 libexpat1-dev amd64 2.1.1-1 [126 kB]
Get:122 http://debian sid/main amd64 libicu-dev amd64 55.1-7 [8549 kB]
Get:123 http://debian sid/main amd64 libpcre16-3 amd64 2:8.38-3.1 [252 kB]
Get:124 http://debian sid/main amd64 libpcre32-3 amd64 2:8.38-3.1 [244 kB]
Get:125 http://debian sid/main amd64 libpcre3-dev amd64 2:8.38-3.1 [633 kB]
Get:126 http://debian sid/main amd64 libpython2.7 amd64 2.7.11-8 [1069 kB]
Get:127 http://debian sid/main amd64 libpython2.7-dev amd64 2.7.11-8 [27.8 MB]
Get:128 http://debian sid/main amd64 libpython-dev amd64 2.7.11-1 [19.6 kB]
Get:129 http://debian sid/main amd64 libpython3.5 amd64 3.5.1-11 [1360 kB]
Get:130 http://debian sid/main amd64 libpython3.5-dev amd64 3.5.1-11 [37.3 MB]
Get:131 http://debian sid/main amd64 libpython3-dev amd64 3.5.1-3 [18.7 kB]
Get:132 http://debian sid/main amd64 qtcore4-l10n all 4:4.8.7+dfsg-6 [657 kB]
Get:133 http://debian sid/main amd64 libqtcore4 amd64 4:4.8.7+dfsg-6+b1 [1594 kB]
Get:134 http://debian sid/main amd64 libqt4-xml amd64 4:4.8.7+dfsg-6+b1 [142 kB]
Get:135 http://debian sid/main amd64 libqtdbus4 amd64 4:4.8.7+dfsg-6+b1 [231 kB]
Get:136 http://debian sid/main amd64 qtchooser amd64 52-gae5eeef-2 [23.1 kB]
Get:137 http://debian sid/main amd64 qdbus amd64 4:4.8.7+dfsg-6+b1 [75.6 kB]
Get:138 http://debian sid/main amd64 libqt4-dbus amd64 4:4.8.7+dfsg-6+b1 [52.2 kB]
Get:139 http://debian sid/main amd64 libqt4-network amd64 4:4.8.7+dfsg-6+b1 [606 kB]
Get:140 http://debian sid/main amd64 libqt4-script amd64 4:4.8.7+dfsg-6+b1 [851 kB]
Get:141 http://debian sid/main amd64 libqt4-sql amd64 4:4.8.7+dfsg-6+b1 [144 kB]
Get:142 http://debian sid/main amd64 libqt4-xmlpatterns amd64 4:4.8.7+dfsg-6+b1 [1135 kB]
Get:143 http://debian sid/main amd64 libtiff5 amd64 4.0.6-1 [221 kB]
Get:144 http://debian sid/main amd64 libxrender1 amd64 1:0.9.9-2 [31.8 kB]
Get:145 http://debian sid/main amd64 libqtgui4 amd64 4:4.8.7+dfsg-6+b1 [4146 kB]
Get:146 http://debian sid/main amd64 libqt4-declarative amd64 4:4.8.7+dfsg-6+b1 [1133 kB]
Get:147 http://debian sid/main amd64 libqt4-designer amd64 4:4.8.7+dfsg-6+b1 [3687 kB]
Get:148 http://debian sid/main amd64 libqt4-qt3support amd64 4:4.8.7+dfsg-6+b1 [1094 kB]
Get:149 http://debian sid/main amd64 libqt4-dev-bin amd64 4:4.8.7+dfsg-6+b1 [1681 kB]
Get:150 http://debian sid/main amd64 libqt4-help amd64 4:4.8.7+dfsg-6+b1 [252 kB]
Get:151 http://debian sid/main amd64 libqt4-scripttools amd64 4:4.8.7+dfsg-6+b1 [270 kB]
Get:152 http://debian sid/main amd64 libqt4-svg amd64 4:4.8.7+dfsg-6+b1 [184 kB]
Get:153 http://debian sid/main amd64 libqt4-test amd64 4:4.8.7+dfsg-6+b1 [107 kB]
Get:154 http://debian sid/main amd64 qt4-linguist-tools amd64 4:4.8.7+dfsg-6+b1 [894 kB]
Get:155 http://debian sid/main amd64 qt4-qmake amd64 4:4.8.7+dfsg-6+b1 [1325 kB]
Get:156 http://debian sid/main amd64 libqt4-dev amd64 4:4.8.7+dfsg-6+b1 [896 kB]
Get:157 http://debian sid/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2+b1 [206 kB]
Get:158 http://debian sid/main amd64 libssl-dev amd64 1.0.2g-2 [1541 kB]
Get:159 http://debian sid/main amd64 libxerces-c3.1 amd64 3.1.3+debian-1 [850 kB]
Get:160 http://debian sid/main amd64 libxerces-c-dev amd64 3.1.3+debian-1 [1662 kB]
Get:161 http://debian sid/main amd64 psmisc amd64 22.21-2.1+b1 [121 kB]
Get:162 http://debian sid/main amd64 php-common all 1:37 [12.2 kB]
Get:163 http://debian sid/main amd64 php7.0-common amd64 7.0.5-4 [507 kB]
Get:164 http://debian sid/main amd64 php7.0-json amd64 7.0.5-4 [16.9 kB]
Get:165 http://debian sid/main amd64 php7.0-opcache amd64 7.0.5-4 [76.2 kB]
Get:166 http://debian sid/main amd64 php7.0-readline amd64 7.0.5-4 [12.7 kB]
Get:167 http://debian sid/main amd64 php7.0-cli amd64 7.0.5-4 [1278 kB]
Get:168 http://debian sid/main amd64 shtool all 2.0.8-8 [134 kB]
Get:169 http://debian sid/main amd64 php7.0-dev amd64 7.0.5-4 [514 kB]
Get:170 http://debian sid/main amd64 php-dev all 1:7.0+37 [4164 B]
Get:171 http://debian sid/main amd64 python2.7-dev amd64 2.7.11-8 [278 kB]
Get:172 http://debian sid/main amd64 python-dev amd64 2.7.11-1 [1116 B]
Get:173 http://debian sid/main amd64 python3.5-dev amd64 3.5.1-11 [413 kB]
Get:174 http://debian sid/main amd64 python3-dev amd64 3.5.1-3 [1144 B]
Get:175 http://debian sid/main amd64 swig3.0 amd64 3.0.7-2 [1287 kB]
Get:176 http://debian sid/main amd64 swig amd64 3.0.7-2 [298 kB]
Get:177 http://debian sid/main amd64 pkg-kde-tools all 0.15.20 [92.4 kB]
Get:178 http://debian sid/main amd64 xsdcxx amd64 4.0.0-5 [1852 kB]
Get:179 http://debian sid/main amd64 uuid-dev amd64 2.28-1 [82.7 kB]

Extracting templates from packages: 16%
Extracting templates from packages: 33%
Extracting templates from packages: 50%
Extracting templates from packages: 67%
Extracting templates from packages: 83%
Extracting templates from packages: 100%
Preconfiguring packages ...
Fetched 161 MB in 14s (11.5 MB/s)
Selecting previously unselected package groff-base.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12508 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-7_amd64.deb ...
Unpacking groff-base (1.22.3-7) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../libbsd0_0.8.3-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.8.3-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.10_amd64.deb ...
Unpacking bsdmainutils (9.0.10) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../libpipeline1_1.4.1-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_amd64.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../libpython2.7-minimal_2.7.11-8_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.11-8) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.11-8_amd64.deb ...
Unpacking python2.7-minimal (2.7.11-8) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.11-1_amd64.deb ...
Unpacking python-minimal (2.7.11-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.1-1_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.1-1) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.2.1-4_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-4) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../libsqlite3-0_3.12.2-1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.12.2-1) ...
Selecting previously unselected package libssl1.0.2:amd64.
Preparing to unpack .../libssl1.0.2_1.0.2g-2_amd64.deb ...
Unpacking libssl1.0.2:amd64 (1.0.2g-2) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.11-8_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.11-8) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.11-8_amd64.deb ...
Unpacking python2.7 (2.7.11-8) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.11-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.11-1) ...
Processing triggers for libc-bin (2.22-7) ...
Setting up libpython2.7-minimal:amd64 (2.7.11-8) ...
Setting up python2.7-minimal (2.7.11-8) ...
Setting up python-minimal (2.7.11-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13875 files and directories currently installed.)
Preparing to unpack .../python_2.7.11-1_amd64.deb ...
Unpacking python (2.7.11-1) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../cmake-data_3.5.2-1_all.deb ...
Unpacking cmake-data (3.5.2-1) ...
Selecting previously unselected package libprocps5:amd64.
Preparing to unpack .../libprocps5_2%3a3.3.11-3_amd64.deb ...
Unpacking libprocps5:amd64 (2:3.3.11-3) ...
Selecting previously unselected package procps.
Preparing to unpack .../procps_2%3a3.3.11-3_amd64.deb ...
Unpacking procps (2:3.3.11-3) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../liblzo2-2_2.08-1.2_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.08-1.2) ...
Selecting previously unselected package libnettle6:amd64.
Preparing to unpack .../libnettle6_3.2-1_amd64.deb ...
Unpacking libnettle6:amd64 (3.2-1) ...
Selecting previously unselected package libicu55:amd64.
Preparing to unpack .../libicu55_55.1-7_amd64.deb ...
Unpacking libicu55:amd64 (55.1-7) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.3+dfsg1-1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.3+dfsg1-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../libarchive13_3.1.2-11+b1_amd64.deb ...
Unpacking libarchive13:amd64 (3.1.2-11+b1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../libkeyutils1_1.5.9-8_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.9-8) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../libkrb5support0_1.13.2+dfsg-5_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.13.2+dfsg-5) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../libk5crypto3_1.13.2+dfsg-5_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.13.2+dfsg-5) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../libkrb5-3_1.13.2+dfsg-5_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.13.2+dfsg-5) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../libgssapi-krb5-2_1.13.2+dfsg-5_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.13.2+dfsg-5) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../libidn11_1.32-3_amd64.deb ...
Unpacking libidn11:amd64 (1.32-3) ...
Selecting previously unselected package libhogweed4:amd64.
Preparing to unpack .../libhogweed4_3.2-1_amd64.deb ...
Unpacking libhogweed4:amd64 (3.2-1) ...
Selecting previously unselected package libp11-kit0:amd64.
Preparing to unpack .../libp11-kit0_0.23.2-3_amd64.deb ...
Unpacking libp11-kit0:amd64 (0.23.2-3) ...
Selecting previously unselected package libtasn1-6:amd64.
Preparing to unpack .../libtasn1-6_4.8-1_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.8-1) ...
Selecting previously unselected package libgnutls30:amd64.
Preparing to unpack .../libgnutls30_3.4.11-4_amd64.deb ...
Unpacking libgnutls30:amd64 (3.4.11-4) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-15_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.26.dfsg1-15) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-15_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.26.dfsg1-15) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../libldap-2.4-2_2.4.42+dfsg-2+b2_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.42+dfsg-2+b2) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../libnghttp2-14_1.10.0-1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.10.0-1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../libssh2-1_1.5.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.5.0-2.1) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.47.0-1_amd64.deb ...
Unpacking libcurl3:amd64 (7.47.0-1) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.2-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.5.2-1_amd64.deb ...
Unpacking cmake (3.5.2-1) ...
Selecting previously unselected package libpng16-16:amd64.
Preparing to unpack .../libpng16-16_1.6.21-4_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.21-4) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../libfreetype6_2.6.3-3+b1_amd64.deb ...
Unpacking libfreetype6:amd64 (2.6.3-3+b1) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
Unpacking fonts-dejavu-core (2.35-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.0-6.4_all.deb ...
Unpacking fontconfig-config (2.11.0-6.4) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.0-6.4_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.0-6.4) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../fontconfig_2.11.0-6.4_amd64.deb ...
Unpacking fontconfig (2.11.0-6.4) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+15_all.deb ...
Unpacking x11-common (1:7.7+15) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../libice6_2%3a1.0.9-1+b1_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.9-1+b1) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../libsm6_2%3a1.2.2-1+b1_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.2-1+b1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../libxcb1_1.11.1-1_amd64.deb ...
Unpacking libxcb1:amd64 (1.11.1-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.3-1_all.deb ...
Unpacking libx11-data (2:1.6.3-1) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../libx11-6_2%3a1.6.3-1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.3-1) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../libxt6_1%3a1.1.5-1_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.5-1) ...
Selecting previously unselected package libaudio2:amd64.
Preparing to unpack .../libaudio2_1.9.4-4_amd64.deb ...
Unpacking libaudio2:amd64 (1.9.4-4) ...
Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../libjpeg62-turbo_1%3a1.4.2-2_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:1.4.2-2) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../liblcms2-2_2.7-1_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.7-1) ...
Selecting previously unselected package libmng1:amd64.
Preparing to unpack .../libmng1_1.0.10+dfsg-3.1+b3_amd64.deb ...
Unpacking libmng1:amd64 (1.0.10+dfsg-3.1+b3) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../libpcrecpp0v5_2%3a8.38-3.1_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.38-3.1) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../libxext6_2%3a1.3.3-1_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../libpython3.5-minimal_3.5.1-11_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.1-11) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../python3.5-minimal_3.5.1-11_amd64.deb ...
Unpacking python3.5-minimal (3.5.1-11) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.5.1-3_amd64.deb ...
Unpacking python3-minimal (3.5.1-3) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.2-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../libpython3.5-stdlib_3.5.1-11_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.1-11) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../python3.5_3.5.1-11_amd64.deb ...
Unpacking python3.5 (3.5.1-11) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.5.1-3_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.5.1-3) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20151103_all.deb ...
Unpacking dh-python (2.20151103) ...
Processing triggers for libc-bin (2.22-7) ...
Processing triggers for systemd (229-5) ...
Setting up libssl1.0.2:amd64 (1.0.2g-2) ...
Setting up libpython3.5-minimal:amd64 (3.5.1-11) ...
Setting up libexpat1:amd64 (2.1.1-1) ...
Setting up python3.5-minimal (3.5.1-11) ...
Setting up python3-minimal (3.5.1-3) ...
Processing triggers for libc-bin (2.22-7) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17767 files and directories currently installed.)
Preparing to unpack .../python3_3.5.1-3_amd64.deb ...
Unpacking python3 (3.5.1-3) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../libmagic1_1%3a5.25-2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_amd64.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.7-2_amd64.deb ...
Unpacking gettext-base (0.19.7-2) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../libedit2_3.1-20150325-1+b1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20150325-1+b1) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../libsigsegv2_2.10-5_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-5) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.17-5_amd64.deb ...
Unpacking m4 (1.4.17-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
Unpacking autotools-dev (20150820.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.15-4_all.deb ...
Unpacking automake (1:1.15-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../autopoint_0.19.7-2_all.deb ...
Unpacking autopoint (0.19.7-2) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.48.0-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.48.0-1) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../libcroco3_0.6.11-1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.11-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.7-2_amd64.deb ...
Unpacking gettext (0.19.7-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.19_all.deb ...
Unpacking po-debconf (1.0.19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.57-1_all.deb ...
Unpacking libarchive-zip-perl (1.57-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.016-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.016-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.016-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.016-1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.6-0.1_all.deb ...
Unpacking libtool (2.4.6-0.1) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../dh-autoreconf_12_all.deb ...
Unpacking dh-autoreconf (12) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20160403_all.deb ...
Unpacking debhelper (9.20160403) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../icu-devtools_55.1-7_amd64.deb ...
Unpacking icu-devtools (55.1-7) ...
Selecting previously unselected package libboost1.58-dev:amd64.
Preparing to unpack .../libboost1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-atomic1.58.0:amd64.
Preparing to unpack .../libboost-atomic1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-atomic1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-atomic1.58-dev:amd64.
Preparing to unpack .../libboost-atomic1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-atomic1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-system1.58.0:amd64.
Preparing to unpack .../libboost-system1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-system1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-chrono1.58.0:amd64.
Preparing to unpack .../libboost-chrono1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-chrono1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-chrono1.58-dev:amd64.
Preparing to unpack .../libboost-chrono1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-chrono1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-date-time1.58.0:amd64.
Preparing to unpack .../libboost-date-time1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-date-time1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-serialization1.58.0:amd64.
Preparing to unpack .../libboost-serialization1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-serialization1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-serialization1.58-dev:amd64.
Preparing to unpack .../libboost-serialization1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-serialization1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-date-time1.58-dev:amd64.
Preparing to unpack .../libboost-date-time1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-date-time1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-dev:amd64.
Preparing to unpack .../libboost-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libboost-system1.58-dev:amd64.
Preparing to unpack .../libboost-system1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-system1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-system-dev:amd64.
Preparing to unpack .../libboost-system-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-system-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libboost-thread1.58.0:amd64.
Preparing to unpack .../libboost-thread1.58.0_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-thread1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-thread1.58-dev:amd64.
Preparing to unpack .../libboost-thread1.58-dev_1.58.0+dfsg-5+b1_amd64.deb ...
Unpacking libboost-thread1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Selecting previously unselected package libboost-thread-dev:amd64.
Preparing to unpack .../libboost-thread-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-thread-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../libcurl3-gnutls_7.47.0-1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.47.0-1) ...
Selecting previously unselected package libcurl4-gnutls-dev:amd64.
Preparing to unpack .../libcurl4-gnutls-dev_7.47.0-1_amd64.deb ...
Unpacking libcurl4-gnutls-dev:amd64 (7.47.0-1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../libdbus-1-3_1.10.8-1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.10.8-1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.1-1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.1-1) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../libicu-dev_55.1-7_amd64.deb ...
Unpacking libicu-dev:amd64 (55.1-7) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../libpcre16-3_2%3a8.38-3.1_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.38-3.1) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../libpcre32-3_2%3a8.38-3.1_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.38-3.1) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../libpcre3-dev_2%3a8.38-3.1_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.38-3.1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.11-8_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.11-8) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.11-8_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.11-8) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.11-1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.11-1) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../libpython3.5_3.5.1-11_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.1-11) ...
Selecting previously unselected package libpython3.5-dev:amd64.
Preparing to unpack .../libpython3.5-dev_3.5.1-11_amd64.deb ...
Unpacking libpython3.5-dev:amd64 (3.5.1-11) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.5.1-3_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.5.1-3) ...
Selecting previously unselected package qtcore4-l10n.
Preparing to unpack .../qtcore4-l10n_4%3a4.8.7+dfsg-6_all.deb ...
Unpacking qtcore4-l10n (4:4.8.7+dfsg-6) ...
Selecting previously unselected package libqtcore4:amd64.
Preparing to unpack .../libqtcore4_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqtcore4:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-xml:amd64.
Preparing to unpack .../libqt4-xml_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-xml:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqtdbus4:amd64.
Preparing to unpack .../libqtdbus4_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqtdbus4:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package qtchooser.
Preparing to unpack .../qtchooser_52-gae5eeef-2_amd64.deb ...
Unpacking qtchooser (52-gae5eeef-2) ...
Selecting previously unselected package qdbus.
Preparing to unpack .../qdbus_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking qdbus (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-dbus:amd64.
Preparing to unpack .../libqt4-dbus_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-dbus:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-network:amd64.
Preparing to unpack .../libqt4-network_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-network:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-script:amd64.
Preparing to unpack .../libqt4-script_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-script:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-sql:amd64.
Preparing to unpack .../libqt4-sql_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-sql:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-xmlpatterns:amd64.
Preparing to unpack .../libqt4-xmlpatterns_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-xmlpatterns:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.6-1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.6-1) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../libxrender1_1%3a0.9.9-2_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.9-2) ...
Selecting previously unselected package libqtgui4:amd64.
Preparing to unpack .../libqtgui4_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqtgui4:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-declarative:amd64.
Preparing to unpack .../libqt4-declarative_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-declarative:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-designer:amd64.
Preparing to unpack .../libqt4-designer_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-designer:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-qt3support:amd64.
Preparing to unpack .../libqt4-qt3support_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-qt3support:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-dev-bin.
Preparing to unpack .../libqt4-dev-bin_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-dev-bin (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-help:amd64.
Preparing to unpack .../libqt4-help_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-help:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-scripttools:amd64.
Preparing to unpack .../libqt4-scripttools_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-scripttools:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-svg:amd64.
Preparing to unpack .../libqt4-svg_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-svg:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-test:amd64.
Preparing to unpack .../libqt4-test_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-test:amd64 (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package qt4-linguist-tools.
Preparing to unpack .../qt4-linguist-tools_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking qt4-linguist-tools (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package qt4-qmake.
Preparing to unpack .../qt4-qmake_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking qt4-qmake (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package libqt4-dev.
Preparing to unpack .../libqt4-dev_4%3a4.8.7+dfsg-6+b1_amd64.deb ...
Unpacking libqt4-dev (4:4.8.7+dfsg-6+b1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.2g-2_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.2g-2) ...
Selecting previously unselected package libxerces-c3.1:amd64.
Preparing to unpack .../libxerces-c3.1_3.1.3+debian-1_amd64.deb ...
Unpacking libxerces-c3.1:amd64 (3.1.3+debian-1) ...
Selecting previously unselected package libxerces-c-dev.
Preparing to unpack .../libxerces-c-dev_3.1.3+debian-1_amd64.deb ...
Unpacking libxerces-c-dev (3.1.3+debian-1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_22.21-2.1+b1_amd64.deb ...
Unpacking psmisc (22.21-2.1+b1) ...
Selecting previously unselected package php-common.
Preparing to unpack .../php-common_1%3a37_all.deb ...
Adding 'diversion of /usr/bin/phar to /usr/bin/phar.php5 by php-common'
Adding 'diversion of /usr/share/man/man1/phar.1.gz to /usr/share/man/man1/phar.php5.1.gz by php-common'
Unpacking php-common (1:37) ...
Selecting previously unselected package php7.0-common.
Preparing to unpack .../php7.0-common_7.0.5-4_amd64.deb ...
Unpacking php7.0-common (7.0.5-4) ...
Selecting previously unselected package php7.0-json.
Preparing to unpack .../php7.0-json_7.0.5-4_amd64.deb ...
Unpacking php7.0-json (7.0.5-4) ...
Selecting previously unselected package php7.0-opcache.
Preparing to unpack .../php7.0-opcache_7.0.5-4_amd64.deb ...
Unpacking php7.0-opcache (7.0.5-4) ...
Selecting previously unselected package php7.0-readline.
Preparing to unpack .../php7.0-readline_7.0.5-4_amd64.deb ...
Unpacking php7.0-readline (7.0.5-4) ...
Selecting previously unselected package php7.0-cli.
Preparing to unpack .../php7.0-cli_7.0.5-4_amd64.deb ...
Unpacking php7.0-cli (7.0.5-4) ...
Selecting previously unselected package shtool.
Preparing to unpack .../shtool_2.0.8-8_all.deb ...
Unpacking shtool (2.0.8-8) ...
Selecting previously unselected package php7.0-dev.
Preparing to unpack .../php7.0-dev_7.0.5-4_amd64.deb ...
Unpacking php7.0-dev (7.0.5-4) ...
Selecting previously unselected package php-dev.
Preparing to unpack .../php-dev_1%3a7.0+37_all.deb ...
Unpacking php-dev (1:7.0+37) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.11-8_amd64.deb ...
Unpacking python2.7-dev (2.7.11-8) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.11-1_amd64.deb ...
Unpacking python-dev (2.7.11-1) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../python3.5-dev_3.5.1-11_amd64.deb ...
Unpacking python3.5-dev (3.5.1-11) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.5.1-3_amd64.deb ...
Unpacking python3-dev (3.5.1-3) ...
Selecting previously unselected package swig3.0.
Preparing to unpack .../swig3.0_3.0.7-2_amd64.deb ...
Unpacking swig3.0 (3.0.7-2) ...
Selecting previously unselected package swig.
Preparing to unpack .../swig_3.0.7-2_amd64.deb ...
Unpacking swig (3.0.7-2) ...
Selecting previously unselected package pkg-kde-tools.
Preparing to unpack .../pkg-kde-tools_0.15.20_all.deb ...
Unpacking pkg-kde-tools (0.15.20) ...
Selecting previously unselected package xsdcxx.
Preparing to unpack .../xsdcxx_4.0.0-5_amd64.deb ...
Unpacking xsdcxx (4.0.0-5) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../uuid-dev_2.28-1_amd64.deb ...
Unpacking uuid-dev:amd64 (2.28-1) ...
Selecting previously unselected package sbuild-build-depends-libkolabxml-dummy.
Preparing to unpack .../sbuild-build-depends-libkolabxml-dummy.deb ...
Unpacking sbuild-build-depends-libkolabxml-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.22-7) ...
Setting up groff-base (1.22.3-7) ...
Setting up libbsd0:amd64 (0.8.3-1) ...
Setting up bsdmainutils (9.0.10) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libpipeline1:amd64 (1.4.1-2) ...
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up mime-support (3.59) ...
Setting up libffi6:amd64 (3.2.1-4) ...
Setting up libsqlite3-0:amd64 (3.12.2-1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.11-8) ...
Setting up python2.7 (2.7.11-8) ...
Setting up libpython-stdlib:amd64 (2.7.11-1) ...
Setting up python (2.7.11-1) ...
Setting up cmake-data (3.5.2-1) ...
Setting up libprocps5:amd64 (2:3.3.11-3) ...
Setting up procps (2:3.3.11-3) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode
Running in chroot, ignoring request.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up liblzo2-2:amd64 (2.08-1.2) ...
Setting up libnettle6:amd64 (3.2-1) ...
Setting up libicu55:amd64 (55.1-7) ...
Setting up libxml2:amd64 (2.9.3+dfsg1-1) ...
Setting up libarchive13:amd64 (3.1.2-11+b1) ...
Setting up libkeyutils1:amd64 (1.5.9-8) ...
Setting up libkrb5support0:amd64 (1.13.2+dfsg-5) ...
Setting up libk5crypto3:amd64 (1.13.2+dfsg-5) ...
Setting up libkrb5-3:amd64 (1.13.2+dfsg-5) ...
Setting up libgssapi-krb5-2:amd64 (1.13.2+dfsg-5) ...
Setting up libidn11:amd64 (1.32-3) ...
Setting up libhogweed4:amd64 (3.2-1) ...
Setting up libp11-kit0:amd64 (0.23.2-3) ...
Setting up libtasn1-6:amd64 (4.8-1) ...
Setting up libgnutls30:amd64 (3.4.11-4) ...
Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-15) ...
Setting up libsasl2-2:amd64 (2.1.26.dfsg1-15) ...
Setting up libldap-2.4-2:amd64 (2.4.42+dfsg-2+b2) ...
Setting up libnghttp2-14:amd64 (1.10.0-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Setting up libssh2-1:amd64 (1.5.0-2.1) ...
Setting up libcurl3:amd64 (7.47.0-1) ...
Setting up libjsoncpp1:amd64 (1.7.2-1) ...
Setting up cmake (3.5.2-1) ...
Setting up libpng16-16:amd64 (1.6.21-4) ...
Setting up libfreetype6:amd64 (2.6.3-3+b1) ...
Setting up ucf (3.0036) ...
Setting up fonts-dejavu-core (2.35-1) ...
Setting up fontconfig-config (2.11.0-6.4) ...
Setting up libfontconfig1:amd64 (2.11.0-6.4) ...
Setting up fontconfig (2.11.0-6.4) ...
Regenerating fonts cache... done.
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up x11-common (1:7.7+15) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request.
Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
Setting up libice6:amd64 (2:1.0.9-1+b1) ...
Setting up libsm6:amd64 (2:1.2.2-1+b1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
Setting up libxcb1:amd64 (1.11.1-1) ...
Setting up libx11-data (2:1.6.3-1) ...
Setting up libx11-6:amd64 (2:1.6.3-1) ...
Setting up libxt6:amd64 (1:1.1.5-1) ...
Setting up libaudio2:amd64 (1.9.4-4) ...
Setting up libjpeg62-turbo:amd64 (1:1.4.2-2) ...
Setting up liblcms2-2:amd64 (2.7-1) ...
Setting up libmng1:amd64 (1.0.10+dfsg-3.1+b3) ...
Setting up libpcrecpp0v5:amd64 (2:8.38-3.1) ...
Setting up libunistring0:amd64 (0.9.3-5.2+b1) ...
Setting up libxext6:amd64 (2:1.3.3-1) ...
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up libpython3.5-stdlib:amd64 (3.5.1-11) ...
Setting up python3.5 (3.5.1-11) ...
Setting up libpython3-stdlib:amd64 (3.5.1-3) ...
Setting up libjbig0:amd64 (2.1-3.1) ...
Setting up libmagic1:amd64 (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.7-2) ...
Setting up libedit2:amd64 (3.1-20150325-1+b1) ...
Setting up libsigsegv2:amd64 (2.10-5) ...
Setting up m4 (1.4.17-5) ...
Setting up autoconf (2.69-10) ...
Setting up autotools-dev (20150820.1) ...
Setting up automake (1:1.15-4) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up autopoint (0.19.7-2) ...
Setting up libglib2.0-0:amd64 (2.48.0-1) ...
No schema files found: doing nothing.
Setting up libcroco3:amd64 (0.6.11-1) ...
Setting up gettext (0.19.7-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.19) ...
Setting up libarchive-zip-perl (1.57-1) ...
Setting up libfile-stripnondeterminism-perl (0.016-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libtool (2.4.6-0.1) ...
Setting up icu-devtools (55.1-7) ...
Setting up libboost1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-atomic1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-atomic1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-system1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-chrono1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-chrono1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-date-time1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-serialization1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-serialization1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-date-time1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-dev:amd64 (1.58.0.1) ...
Setting up libboost-system1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-system-dev:amd64 (1.58.0.1) ...
Setting up libboost-thread1.58.0:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-thread1.58-dev:amd64 (1.58.0+dfsg-5+b1) ...
Setting up libboost-thread-dev:amd64 (1.58.0.1) ...
Setting up libcurl3-gnutls:amd64 (7.47.0-1) ...
Setting up libcurl4-gnutls-dev:amd64 (7.47.0-1) ...
Setting up libdbus-1-3:amd64 (1.10.8-1) ...
Setting up libexpat1-dev:amd64 (2.1.1-1) ...
Setting up libicu-dev:amd64 (55.1-7) ...
Setting up libpcre16-3:amd64 (2:8.38-3.1) ...
Setting up libpcre32-3:amd64 (2:8.38-3.1) ...
Setting up libpcre3-dev:amd64 (2:8.38-3.1) ...
Setting up libpython2.7:amd64 (2.7.11-8) ...
Setting up libpython2.7-dev:amd64 (2.7.11-8) ...
Setting up libpython-dev:amd64 (2.7.11-1) ...
Setting up libpython3.5:amd64 (3.5.1-11) ...
Setting up libpython3.5-dev:amd64 (3.5.1-11) ...
Setting up libpython3-dev:amd64 (3.5.1-3) ...
Setting up qtcore4-l10n (4:4.8.7+dfsg-6) ...
Setting up libqtcore4:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-xml:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqtdbus4:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up qtchooser (52-gae5eeef-2) ...
Setting up qdbus (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-dbus:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-network:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-script:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-sql:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-xmlpatterns:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libtiff5:amd64 (4.0.6-1) ...
Setting up libxrender1:amd64 (1:0.9.9-2) ...
Setting up libqtgui4:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-declarative:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-designer:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-qt3support:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-dev-bin (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-help:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-scripttools:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-svg:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-test:amd64 (4:4.8.7+dfsg-6+b1) ...
Setting up qt4-linguist-tools (4:4.8.7+dfsg-6+b1) ...
Setting up qt4-qmake (4:4.8.7+dfsg-6+b1) ...
Setting up libqt4-dev (4:4.8.7+dfsg-6+b1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Setting up libssl-dev:amd64 (1.0.2g-2) ...
Setting up libxerces-c3.1:amd64 (3.1.3+debian-1) ...
Setting up libxerces-c-dev (3.1.3+debian-1) ...
Setting up psmisc (22.21-2.1+b1) ...
Setting up php-common (1:37) ...
Setting up php7.0-common (7.0.5-4) ...

Creating config file /etc/php/7.0/mods-available/calendar.ini with new version

Creating config file /etc/php/7.0/mods-available/ctype.ini with new version

Creating config file /etc/php/7.0/mods-available/exif.ini with new version

Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.0/mods-available/ftp.ini with new version

Creating config file /etc/php/7.0/mods-available/gettext.ini with new version

Creating config file /etc/php/7.0/mods-available/iconv.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo.ini with new version

Creating config file /etc/php/7.0/mods-available/phar.ini with new version

Creating config file /etc/php/7.0/mods-available/posix.ini with new version

Creating config file /etc/php/7.0/mods-available/shmop.ini with new version

Creating config file /etc/php/7.0/mods-available/sockets.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
Setting up php7.0-json (7.0.5-4) ...

Creating config file /etc/php/7.0/mods-available/json.ini with new version
Setting up php7.0-opcache (7.0.5-4) ...

Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
Setting up php7.0-readline (7.0.5-4) ...

Creating config file /etc/php/7.0/mods-available/readline.ini with new version
Setting up php7.0-cli (7.0.5-4) ...
update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.0/cli/php.ini with new version
Setting up shtool (2.0.8-8) ...
Setting up php7.0-dev (7.0.5-4) ...
update-alternatives: using /usr/bin/php-config7.0 to provide /usr/bin/php-config (php-config) in auto mode
update-alternatives: using /usr/bin/phpize7.0 to provide /usr/bin/phpize (phpize) in auto mode
Setting up php-dev (1:7.0+37) ...
Setting up python2.7-dev (2.7.11-8) ...
Setting up python-dev (2.7.11-1) ...
Setting up python3.5-dev (3.5.1-11) ...
Setting up swig3.0 (3.0.7-2) ...
Setting up swig (3.0.7-2) ...
Setting up xsdcxx (4.0.0-5) ...
Setting up uuid-dev:amd64 (2.28-1) ...
Setting up dh-python (2.20151103) ...
Setting up python3 (3.5.1-3) ...
Setting up dh-autoreconf (12) ...
Setting up python3-dev (3.5.1-3) ...
Setting up pkg-kde-tools (0.15.20) ...
Setting up debhelper (9.20160403) ...
Setting up sbuild-build-depends-libkolabxml-dummy (0.invalid.0) ...
Setting up dh-strip-nondeterminism (0.016-1) ...
Processing triggers for libc-bin (2.22-7) ...
Processing triggers for systemd (229-5) ...

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.5.0-1-amd64 amd64 (x86_64)
Toolchain package versions: binutils_2.26-8 dpkg-dev_1.18.4 g++-5_5.3.1-16 gcc-5_5.3.1-16 libc6-dev_2.22-7 libstdc++-5-dev_5.3.1-16 libstdc++6_6.0.1-2 linux-libc-dev_4.5.1-1
Package versions: adduser_3.114 apt_1.2.11 apt-utils_1.2.11 autoconf_2.69-10 automake_1:1.15-4 autopoint_0.19.7-2 autotools-dev_20150820.1 base-files_9.6 base-passwd_3.5.39 bash_4.3-14+b1 binutils_2.26-8 bsdmainutils_9.0.10 bsdutils_1:2.28-1 build-essential_12.2 bzip2_1.0.6-8 cmake_3.5.2-1 cmake-data_3.5.2-1 coreutils_8.25-2 cpp_4:5.3.1-1 cpp-5_5.3.1-16 dash_0.5.8-2.2 debconf_1.5.59 debconf-i18n_1.5.59 debhelper_9.20160403 debian-archive-keyring_2014.3 debian-keyring_2016.04.22 debianutils_4.7 dh-autoreconf_12 dh-python_2.20151103 dh-strip-nondeterminism_0.016-1 diffutils_1:3.3-3 dmsetup_2:1.02.123-1 dpkg_1.18.4 dpkg-dev_1.18.4 e2fslibs_1.43~WIP.2016.03.15-2 e2fsprogs_1.43~WIP.2016.03.15-2 eatmydata_105-3 fakeroot_1.20.2-1 file_1:5.25-2 findutils_4.6.0+git+20160126-2 fontconfig_2.11.0-6.4 fontconfig-config_2.11.0-6.4 fonts-dejavu-core_2.35-1 g++_4:5.3.1-1 g++-5_5.3.1-16 gcc_4:5.3.1-1 gcc-4.9-base_4.9.3-14 gcc-5_5.3.1-16 gcc-5-base_5.3.1-16 gcc-6-base_6.0.1-2 gettext_0.19.7-2 gettext-base_0.19.7-2 gnupg_1.4.20-6 gpgv_1.4.20-6 grep_2.25-1 groff-base_1.22.3-7 gzip_1.6-5 hostname_3.17 icu-devtools_55.1-7 init_1.31 init-system-helpers_1.31 initscripts_2.88dsf-59.3 insserv_1.14.0-5.3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3 libapparmor1_2.10-4 libapt-inst2.0_1.2.11 libapt-pkg5.0_1.2.11 libarchive-zip-perl_1.57-1 libarchive13_3.1.2-11+b1 libasan2_5.3.1-16 libatomic1_6.0.1-2 libattr1_1:2.4.47-2 libaudio2_1.9.4-4 libaudit-common_1:2.4.5-1 libaudit1_1:2.4.5-1+b1 libblkid1_2.28-1 libboost-atomic1.58-dev_1.58.0+dfsg-5+b1 libboost-atomic1.58.0_1.58.0+dfsg-5+b1 libboost-chrono1.58-dev_1.58.0+dfsg-5+b1 libboost-chrono1.58.0_1.58.0+dfsg-5+b1 libboost-date-time1.58-dev_1.58.0+dfsg-5+b1 libboost-date-time1.58.0_1.58.0+dfsg-5+b1 libboost-dev_1.58.0.1 libboost-serialization1.58-dev_1.58.0+dfsg-5+b1 libboost-serialization1.58.0_1.58.0+dfsg-5+b1 libboost-system-dev_1.58.0.1 libboost-system1.58-dev_1.58.0+dfsg-5+b1 libboost-system1.58.0_1.58.0+dfsg-5+b1 libboost-thread-dev_1.58.0.1 libboost-thread1.58-dev_1.58.0+dfsg-5+b1 libboost-thread1.58.0_1.58.0+dfsg-5+b1 libboost1.58-dev_1.58.0+dfsg-5+b1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8 libc-bin_2.22-7 libc-dev-bin_2.22-7 libc6_2.22-7 libc6-dev_2.22-7 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_6.0.1-2 libcilkrts5_6.0.1-2 libcomerr2_1.43~WIP.2016.03.15-2 libcroco3_0.6.11-1 libcryptsetup4_2:1.7.0-2 libcurl3_7.47.0-1 libcurl3-gnutls_7.47.0-1 libcurl4-gnutls-dev_7.47.0-1 libdb5.3_5.3.28-11 libdbus-1-3_1.10.8-1 libdebconfclient0_0.209 libdevmapper1.02.1_2:1.02.123-1 libdpkg-perl_1.18.4 libeatmydata1_105-3 libedit2_3.1-20150325-1+b1 libexpat1_2.1.1-1 libexpat1-dev_2.1.1-1 libfakeroot_1.20.2-1 libfdisk1_2.28-1 libffi6_3.2.1-4 libfile-stripnondeterminism-perl_0.016-1 libfontconfig1_2.11.0-6.4 libfreetype6_2.6.3-3+b1 libgcc-5-dev_5.3.1-16 libgcc1_1:6.0.1-2 libgcrypt20_1.7.0-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.48.0-1 libgmp10_2:6.1.0+dfsg-2 libgnutls30_3.4.11-4 libgomp1_6.0.1-2 libgpg-error0_1.22-1 libgssapi-krb5-2_1.13.2+dfsg-5 libhogweed4_3.2-1 libice6_2:1.0.9-1+b1 libicu-dev_55.1-7 libicu55_55.1-7 libidn11_1.32-3 libisl15_0.16.1-1 libitm1_6.0.1-2 libjbig0_2.1-3.1 libjpeg62-turbo_1:1.4.2-2 libjsoncpp1_1.7.2-1 libk5crypto3_1.13.2+dfsg-5 libkeyutils1_1.5.9-8 libkmod2_22-1.1 libkrb5-3_1.13.2+dfsg-5 libkrb5support0_1.13.2+dfsg-5 liblcms2-2_2.7-1 libldap-2.4-2_2.4.42+dfsg-2+b2 liblocale-gettext-perl_1.07-1+b1 liblsan0_6.0.1-2 liblz4-1_0.0~r131-2 liblzma5_5.1.1alpha+20120614-2.1 liblzo2-2_2.08-1.2 libmagic1_1:5.25-2 libmng1_1.0.10+dfsg-3.1+b3 libmount1_2.28-1 libmpc3_1.0.3-1 libmpdec2_2.4.2-1 libmpfr4_3.1.4-1 libmpx0_5.3.1-16 libncurses5_6.0+20160319-1 libncursesw5_6.0+20160319-1 libnettle6_3.2-1 libnghttp2-14_1.10.0-1 libp11-kit0_0.23.2-3 libpam-modules_1.1.8-3.2 libpam-modules-bin_1.1.8-3.2 libpam-runtime_1.1.8-3.2 libpam0g_1.1.8-3.2 libpcre16-3_2:8.38-3.1 libpcre3_2:8.38-3.1 libpcre3-dev_2:8.38-3.1 libpcre32-3_2:8.38-3.1 libpcrecpp0v5_2:8.38-3.1 libperl5.22_5.22.1-10 libpipeline1_1.4.1-2 libpng16-16_1.6.21-4 libprocps5_2:3.3.11-3 libpython-dev_2.7.11-1 libpython-stdlib_2.7.11-1 libpython2.7_2.7.11-8 libpython2.7-dev_2.7.11-8 libpython2.7-minimal_2.7.11-8 libpython2.7-stdlib_2.7.11-8 libpython3-dev_3.5.1-3 libpython3-stdlib_3.5.1-3 libpython3.5_3.5.1-11 libpython3.5-dev_3.5.1-11 libpython3.5-minimal_3.5.1-11 libpython3.5-stdlib_3.5.1-11 libqt4-dbus_4:4.8.7+dfsg-6+b1 libqt4-declarative_4:4.8.7+dfsg-6+b1 libqt4-designer_4:4.8.7+dfsg-6+b1 libqt4-dev_4:4.8.7+dfsg-6+b1 libqt4-dev-bin_4:4.8.7+dfsg-6+b1 libqt4-help_4:4.8.7+dfsg-6+b1 libqt4-network_4:4.8.7+dfsg-6+b1 libqt4-qt3support_4:4.8.7+dfsg-6+b1 libqt4-script_4:4.8.7+dfsg-6+b1 libqt4-scripttools_4:4.8.7+dfsg-6+b1 libqt4-sql_4:4.8.7+dfsg-6+b1 libqt4-svg_4:4.8.7+dfsg-6+b1 libqt4-test_4:4.8.7+dfsg-6+b1 libqt4-xml_4:4.8.7+dfsg-6+b1 libqt4-xmlpatterns_4:4.8.7+dfsg-6+b1 libqtcore4_4:4.8.7+dfsg-6+b1 libqtdbus4_4:4.8.7+dfsg-6+b1 libqtgui4_4:4.8.7+dfsg-6+b1 libquadmath0_6.0.1-2 libreadline6_6.3-8+b4 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.26.dfsg1-15 libsasl2-modules-db_2.1.26.dfsg1-15 libseccomp2_2.3.0-1 libselinux1_2.5-1 libsemanage-common_2.5-1 libsemanage1_2.5-1 libsepol1_2.5-1 libsigsegv2_2.10-5 libsm6_2:1.2.2-1+b1 libsmartcols1_2.28-1 libsqlite3-0_3.12.2-1 libss2_1.43~WIP.2016.03.15-2 libssh2-1_1.5.0-2.1 libssl-dev_1.0.2g-2 libssl1.0.2_1.0.2g-2 libstdc++-5-dev_5.3.1-16 libstdc++6_6.0.1-2 libsystemd0_229-5 libtasn1-6_4.8-1 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b3 libtext-wrapi18n-perl_0.06-7.1 libtiff5_4.0.6-1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160319-1 libtool_2.4.6-0.1 libtsan0_6.0.1-2 libubsan0_6.0.1-2 libudev1_229-5 libunistring0_0.9.3-5.2+b1 libusb-0.1-4_2:0.1.12-28 libustr-1.0-1_1.0.4-5 libuuid1_2.28-1 libx11-6_2:1.6.3-1 libx11-data_2:1.6.3-1 libxau6_1:1.0.8-1 libxcb1_1.11.1-1 libxdmcp6_1:1.1.2-1.1 libxerces-c-dev_3.1.3+debian-1 libxerces-c3.1_3.1.3+debian-1 libxext6_2:1.3.3-1 libxml2_2.9.3+dfsg1-1 libxrender1_1:0.9.9-2 libxt6_1:1.1.5-1 linux-libc-dev_4.5.1-1 login_1:4.2-3.1 lsb-base_9.20160110 m4_1.4.17-5 make_4.1-9 man-db_2.7.5-1 mawk_1.3.3-17 mime-support_3.59 mount_2.28-1 multiarch-support_2.22-7 ncurses-base_6.0+20160319-1 ncurses-bin_6.0+20160319-1 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.22.1-10 perl-base_5.22.1-10 perl-modules-5.22_5.22.1-10 php-common_1:37 php-dev_1:7.0+37 php7.0-cli_7.0.5-4 php7.0-common_7.0.5-4 php7.0-dev_7.0.5-4 php7.0-json_7.0.5-4 php7.0-opcache_7.0.5-4 php7.0-readline_7.0.5-4 pkg-kde-tools_0.15.20 po-debconf_1.0.19 procps_2:3.3.11-3 psmisc_22.21-2.1+b1 python_2.7.11-1 python-dev_2.7.11-1 python-minimal_2.7.11-1 python2.7_2.7.11-8 python2.7-dev_2.7.11-8 python2.7-minimal_2.7.11-8 python3_3.5.1-3 python3-dev_3.5.1-3 python3-minimal_3.5.1-3 python3.5_3.5.1-11 python3.5-dev_3.5.1-11 python3.5-minimal_3.5.1-11 qdbus_4:4.8.7+dfsg-6+b1 qt4-linguist-tools_4:4.8.7+dfsg-6+b1 qt4-qmake_4:4.8.7+dfsg-6+b1 qtchooser_52-gae5eeef-2 qtcore4-l10n_4:4.8.7+dfsg-6 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-libkolabxml-dummy_0.invalid.0 sed_4.2.2-7.1 sensible-utils_0.0.9 shtool_2.0.8-8 startpar_0.59-3 swig_3.0.7-2 swig3.0_3.0.7-2 systemd_229-5 systemd-sysv_229-5 sysv-rc_2.88dsf-59.3 sysvinit-utils_2.88dsf-59.3 tar_1.28-2.1 tzdata_2016d-2 ucf_3.0036 util-linux_2.28-1 uuid-dev_2.28-1 x11-common_1:7.7+15 xsdcxx_4.0.0-5 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1 zlib1g-dev_1:1.2.8.dfsg-2+b1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

dpkg-source: warning: extracting unsigned source package (libkolabxml_1.1.2-2~.dsc)
dpkg-source: info: extracting libkolabxml in libkolabxml-1.1.2
dpkg-source: info: unpacking libkolabxml_1.1.2.orig.tar.gz
dpkg-source: info: unpacking libkolabxml_1.1.2-2~.debian.tar.xz
dpkg-source: info: applying fix-race-condition.patch
dpkg-source: info: applying fix-parallel-build.patch
dpkg-source: info: applying use-phpconfig-to-detect-phpincludedir.patch

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LD_LIBRARY_PATH=/usr/lib/libeatmydata
LD_PRELOAD=libeatmydata.so
LOGNAME=hefee
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/<<PKGBUILDDIR>>
SCHROOT_ALIAS_NAME=test2-amd64
SCHROOT_CHROOT_NAME=test2-amd64
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=hefee
SCHROOT_SESSION_ID=test2-amd64-def6303e-b8d6-40d0-84d9-f279aebde34b
SCHROOT_UID=1000
SCHROOT_USER=hefee
SHELL=/bin/sh
TERM=screen
USER=hefee

dpkg-buildpackage
-----------------

dpkg-buildpackage: source package libkolabxml
dpkg-buildpackage: source version 1.1.2-2~
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Sandro Knauß <bugs at sandroknauss.de>
 dpkg-source --before-build libkolabxml-1.1.2
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --parallel --with python2,python3,pkgkde_symbolshelper
   dh_testdir -O--parallel
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf build-py3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--parallel
 debian/rules build
dh build --parallel --with python2,python3,pkgkde_symbolshelper
   dh_testdir -O--parallel
   dh_update_autotools_config -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
	-DPHP_BINDINGS=ON \
	-DPYTHON_BINDINGS=ON \
	-DPYTHON_INSTALL_DIR=/usr/lib/python2.7/dist-packages \
	-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
	-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DPHP_BINDINGS=ON -DPYTHON_BINDINGS=ON -DPYTHON_INSTALL_DIR=/usr/lib/python2.7/dist-packages -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so
-- The C compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
Building DIST targets (make dist, make snapshot)
-- The CXX compiler identification is GNU 5.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
--   chrono
--   date_time
--   atomic
Found boost in /usr/include
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- Found XSDCXX: /usr/bin/xsdcxx  
-- Found Xerces: /usr/lib/x86_64-linux-gnu/libxerces-c.so  
-- Found Curl: /usr/lib/x86_64-linux-gnu/libcurl.so  
SWIG found
-- Found LibkolabxmlDependencies: TRUE  
-- GCC Version >= 4.7, applying unqualified lookup workaround
building python bindings
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.11+") 
found python include dirs: /usr/include/python2.7 /usr/include/python2.7
building php bindings
/usr/include/php/20151012
/usr/lib/php/20151012
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.2") 
Buildings tests
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_configure --builddirectory=build-py3 -- \
	-DPYTHON_BINDINGS=ON \
	-DPYTHON_INSTALL_DIR=/usr/lib/python3/dist-packages \
	-DPYTHON_INCLUDE_DIR=/usr/include/python3.5 \
	-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DPYTHON_BINDINGS=ON -DPYTHON_INSTALL_DIR=/usr/lib/python3/dist-packages -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so
-- The C compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
Building DIST targets (make dist, make snapshot)
-- The CXX compiler identification is GNU 5.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
--   chrono
--   date_time
--   atomic
Found boost in /usr/include
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- Found XSDCXX: /usr/bin/xsdcxx  
-- Found Xerces: /usr/lib/x86_64-linux-gnu/libxerces-c.so  
-- Found Curl: /usr/lib/x86_64-linux-gnu/libcurl.so  
SWIG found
-- Found LibkolabxmlDependencies: TRUE  
-- GCC Version >= 4.7, applying unqualified lookup workaround
building python bindings
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found version "3.5.1+") 
found python include dirs: /usr/include/python3.5 /usr/include/python3.5
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.2") 
Buildings tests
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR


-- Build files have been written to: /<<PKGBUILDDIR>>/build-py3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --parallel --builddirectory=build-py3
	make -j2
make[2]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
/usr/bin/cmake -H/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/build-py3 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build-py3/CMakeFiles /<<PKGBUILDDIR>>/build-py3/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
make -f CMakeFiles/xsdbin.dir/build.make CMakeFiles/xsdbin.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/CMakeFiles/xsdbin.dir/DependInfo.cmake --color=
Scanning dependencies of target xsdbin
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f CMakeFiles/xsdbin.dir/build.make CMakeFiles/xsdbin.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[  2%] Building CXX object CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o
/usr/bin/c++    -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive   -o CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o -c /<<PKGBUILDDIR>>/compiled/xsdbin.cxx
[  4%] Linking CXX executable xsdbin
/usr/bin/cmake -E cmake_link_script CMakeFiles/xsdbin.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive   -Wl,-z,relro -Wl,--as-needed CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o  -o xsdbin -rdynamic -lxerces-c 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[  4%] Built target xsdbin
make -f CMakeFiles/generate_bindings.dir/build.make CMakeFiles/generate_bindings.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/CMakeFiles/generate_bindings.dir/DependInfo.cmake --color=
Scanning dependencies of target generate_bindings
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f CMakeFiles/generate_bindings.dir/build.make CMakeFiles/generate_bindings.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[  6%] Compiling Kolab XSD schema
cd /<<PKGBUILDDIR>> && /<<PKGBUILDDIR>>/build-py3/xsdbin --verbose --array-name iCalendar_schema --output-dir /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd /<<PKGBUILDDIR>>/schemas/xCard.xsd /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
[  8%] Generating XSD bindings
cd /<<PKGBUILDDIR>> && /usr/bin/xsdcxx cxx-tree --generate-polymorphic --generate-serialization --namespace-map http://kolab.org=KolabXSD --root-element icalendar --root-element vcards --root-element note --root-element configuration --root-element file --output-dir /<<PKGBUILDDIR>>/build-py3/bindings /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd /<<PKGBUILDDIR>>/schemas/xCard.xsd /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd
loading /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd
loading /<<PKGBUILDDIR>>/schemas/xCard.xsd
loading /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
uncomressed data size 262144 bytes
comressed data size 132224 bytes
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[  8%] Built target generate_bindings
make -f src/CMakeFiles/kolabxml.dir/build.make src/CMakeFiles/kolabxml.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/src /<<PKGBUILDDIR>>/build-py3/src/CMakeFiles/kolabxml.dir/DependInfo.cmake --color=
Scanning dependencies of target kolabxml
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f src/CMakeFiles/kolabxml.dir/build.make src/CMakeFiles/kolabxml.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 10%] Building CXX object src/CMakeFiles/kolabxml.dir/objectvalidation.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/objectvalidation.cpp.o -c /<<PKGBUILDDIR>>/src/objectvalidation.cpp
[ 12%] Building CXX object src/CMakeFiles/kolabxml.dir/kolabformat.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/kolabformat.cpp.o -c /<<PKGBUILDDIR>>/src/kolabformat.cpp
[ 14%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabcontainers.cpp
[ 17%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabnote.cpp
[ 19%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabevent.cpp
[ 21%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabtodo.cpp
[ 23%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabjournal.cpp
[ 25%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabcontact.cpp
[ 27%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabconfiguration.cpp
[ 29%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabfreebusy.cpp
[ 31%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabfile.cpp
[ 34%] Building CXX object src/CMakeFiles/kolabxml.dir/utils.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/utils.cpp.o -c /<<PKGBUILDDIR>>/src/utils.cpp
[ 36%] Building CXX object src/CMakeFiles/kolabxml.dir/base64.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/base64.cpp.o -c /<<PKGBUILDDIR>>/src/base64.cpp
[ 38%] Building CXX object src/CMakeFiles/kolabxml.dir/uriencode.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/uriencode.cpp.o -c /<<PKGBUILDDIR>>/src/uriencode.cpp
[ 40%] Building CXX object src/CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o -c /<<PKGBUILDDIR>>/compiled/XMLParserWrapper.cpp
[ 42%] Building CXX object src/CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o -c /<<PKGBUILDDIR>>/compiled/grammar-input-stream.cxx
[ 44%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/kolabformat.cxx
[ 46%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/xCard.cxx
[ 48%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/kolabformat-xcal.cxx
[ 51%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/kolabformat-xcard.cxx
[ 53%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/iCalendar-params.cxx
[ 55%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/iCalendar-props.cxx
[ 57%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o -c /<<PKGBUILDDIR>>/build-py3/bindings/iCalendar-valtypes.cxx
[ 59%] Building CXX object src/CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o -c /<<PKGBUILDDIR>>/build-py3/kolabformat-xcal-schema.cxx
[ 61%] Linking CXX shared library libkolabxml.so
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kolabxml.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2  -Wl,-z,relro -Wl,--as-needed -shared -Wl,-soname,libkolabxml.so.1 -o libkolabxml.so.1.1.2 CMakeFiles/kolabxml.dir/kolabformat.cpp.o CMakeFiles/kolabxml.dir/objectvalidation.cpp.o CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o CMakeFiles/kolabxml.dir/utils.cpp.o CMakeFiles/kolabxml.dir/base64.cpp.o CMakeFiles/kolabxml.dir/uriencode.cpp.o CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl 
cd /<<PKGBUILDDIR>>/build-py3/src && /usr/bin/cmake -E cmake_symlink_library libkolabxml.so.1.1.2 libkolabxml.so.1 libkolabxml.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 61%] Built target kolabxml
make -f src/python/CMakeFiles/kolabformat.dir/build.make src/python/CMakeFiles/kolabformat.dir/depend
make -f tests/CMakeFiles/parsingtest.dir/build.make tests/CMakeFiles/parsingtest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 63%] Generating python bindings
cd /<<PKGBUILDDIR>>/src/python && /usr/bin/swig -v -c++ -python -o /<<PKGBUILDDIR>>/build-py3/src/python/python_kolabformat_wrapper.cpp ../kolabformat.i
[ 65%] Generating parsingtest.moc
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/lib/x86_64-linux-gnu/qt4/bin/moc @/<<PKGBUILDDIR>>/build-py3/tests/parsingtest.moc_parameters
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/tests /<<PKGBUILDDIR>>/build-py3/tests/CMakeFiles/parsingtest.dir/DependInfo.cmake --color=
Scanning dependencies of target parsingtest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f tests/CMakeFiles/parsingtest.dir/build.make tests/CMakeFiles/parsingtest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 68%] Building CXX object tests/CMakeFiles/parsingtest.dir/parsingtest.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_TEST_LIB -DTEST_DATA_PATH=\"/<<PKGBUILDDIR>>/tests\" -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/build-py3/tests -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -o CMakeFiles/parsingtest.dir/parsingtest.cpp.o -c /<<PKGBUILDDIR>>/tests/parsingtest.cpp
Language subdirectory: python
Search paths:
   ./
   ./swig_lib/python/
   /usr/share/swig3.0/python/
   ./swig_lib/
   /usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
[ 70%] Linking CXX executable parsingtest
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/parsingtest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -Wl,-z,relro -Wl,--as-needed CMakeFiles/parsingtest.dir/parsingtest.cpp.o  -o parsingtest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so /usr/lib/x86_64-linux-gnu/libQtCore.so ../src/libkolabxml.so.1.1.2 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 70%] Built target parsingtest
make -f tests/CMakeFiles/conversiontest.dir/build.make tests/CMakeFiles/conversiontest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 72%] Generating conversiontest.moc
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/lib/x86_64-linux-gnu/qt4/bin/moc @/<<PKGBUILDDIR>>/build-py3/tests/conversiontest.moc_parameters
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/tests /<<PKGBUILDDIR>>/build-py3/tests/CMakeFiles/conversiontest.dir/DependInfo.cmake --color=
Scanning dependencies of target conversiontest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f tests/CMakeFiles/conversiontest.dir/build.make tests/CMakeFiles/conversiontest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 74%] Building CXX object tests/CMakeFiles/conversiontest.dir/conversiontest.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_TEST_LIB -DTEST_DATA_PATH=\"/<<PKGBUILDDIR>>/tests\" -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/build-py3/tests -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -o CMakeFiles/conversiontest.dir/conversiontest.cpp.o -c /<<PKGBUILDDIR>>/tests/conversiontest.cpp
Processing types...
C++ analysis...
Processing nested classes...
Generating wrappers...
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/python /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/src/python /<<PKGBUILDDIR>>/build-py3/src/python/CMakeFiles/kolabformat.dir/DependInfo.cmake --color=
Scanning dependencies of target kolabformat
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f src/python/CMakeFiles/kolabformat.dir/build.make src/python/CMakeFiles/kolabformat.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 76%] Building CXX object src/python/CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/src/python && /usr/bin/c++   -Dkolabformat_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/src/python/.. -I/usr/include/python3.5  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -Wno-maybe-uninitialized -fPIC   -o CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o -c /<<PKGBUILDDIR>>/build-py3/src/python/python_kolabformat_wrapper.cpp
[ 78%] Linking CXX executable conversiontest
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/conversiontest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -Wl,-z,relro -Wl,--as-needed CMakeFiles/conversiontest.dir/conversiontest.cpp.o  -o conversiontest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so /usr/lib/x86_64-linux-gnu/libQtCore.so ../src/libkolabxml.so.1.1.2 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 78%] Built target conversiontest
make -f tests/CMakeFiles/validationtest.dir/build.make tests/CMakeFiles/validationtest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 80%] Generating validationtest.moc
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/lib/x86_64-linux-gnu/qt4/bin/moc @/<<PKGBUILDDIR>>/build-py3/tests/validationtest.moc_parameters
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/tests /<<PKGBUILDDIR>>/build-py3/tests/CMakeFiles/validationtest.dir/DependInfo.cmake --color=
Scanning dependencies of target validationtest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f tests/CMakeFiles/validationtest.dir/build.make tests/CMakeFiles/validationtest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 82%] Building CXX object tests/CMakeFiles/validationtest.dir/validationtest.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_TEST_LIB -DTEST_DATA_PATH=\"/<<PKGBUILDDIR>>/tests\" -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/build-py3/tests -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -o CMakeFiles/validationtest.dir/validationtest.cpp.o -c /<<PKGBUILDDIR>>/tests/validationtest.cpp
[ 85%] Linking CXX executable validationtest
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/validationtest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -Wl,-z,relro -Wl,--as-needed CMakeFiles/validationtest.dir/validationtest.cpp.o  -o validationtest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so /usr/lib/x86_64-linux-gnu/libQtCore.so ../src/libkolabxml.so.1.1.2 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 85%] Built target validationtest
make -f tests/CMakeFiles/bindingstest.dir/build.make tests/CMakeFiles/bindingstest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 87%] Generating bindingstest.moc
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/lib/x86_64-linux-gnu/qt4/bin/moc @/<<PKGBUILDDIR>>/build-py3/tests/bindingstest.moc_parameters
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/tests /<<PKGBUILDDIR>>/build-py3/tests/CMakeFiles/bindingstest.dir/DependInfo.cmake --color=
Scanning dependencies of target bindingstest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f tests/CMakeFiles/bindingstest.dir/build.make tests/CMakeFiles/bindingstest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 89%] Building CXX object tests/CMakeFiles/bindingstest.dir/bindingstest.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_TEST_LIB -DTEST_DATA_PATH=\"/<<PKGBUILDDIR>>/tests\" -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/build-py3/tests -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -o CMakeFiles/bindingstest.dir/bindingstest.cpp.o -c /<<PKGBUILDDIR>>/tests/bindingstest.cpp
[ 91%] Linking CXX executable bindingstest
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/bindingstest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -Wl,-z,relro -Wl,--as-needed CMakeFiles/bindingstest.dir/bindingstest.cpp.o  -o bindingstest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so /usr/lib/x86_64-linux-gnu/libQtCore.so ../src/libkolabxml.so.1.1.2 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 91%] Built target bindingstest
make -f tests/CMakeFiles/kolabconversationtest.dir/build.make tests/CMakeFiles/kolabconversationtest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 93%] Generating kolabconversationtest.moc
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/lib/x86_64-linux-gnu/qt4/bin/moc @/<<PKGBUILDDIR>>/build-py3/tests/kolabconversationtest.moc_parameters
cd /<<PKGBUILDDIR>>/build-py3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/build-py3 /<<PKGBUILDDIR>>/build-py3/tests /<<PKGBUILDDIR>>/build-py3/tests/CMakeFiles/kolabconversationtest.dir/DependInfo.cmake --color=
Scanning dependencies of target kolabconversationtest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
make -f tests/CMakeFiles/kolabconversationtest.dir/build.make tests/CMakeFiles/kolabconversationtest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-py3'
[ 95%] Building CXX object tests/CMakeFiles/kolabconversationtest.dir/kolabconversationtest.cpp.o
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_TEST_LIB -DTEST_DATA_PATH=\"/<<PKGBUILDDIR>>/tests\" -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/build-py3 -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/build-py3/tests -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -o CMakeFiles/kolabconversationtest.dir/kolabconversationtest.cpp.o -c /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp
[ 97%] Linking CXX executable kolabconversationtest
cd /<<PKGBUILDDIR>>/build-py3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/kolabconversationtest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -Wl,--no-undefined   -Wl,-z,relro -Wl,--as-needed CMakeFiles/kolabconversationtest.dir/kolabconversationtest.cpp.o  -o kolabconversationtest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so /usr/lib/x86_64-linux-gnu/libQtCore.so ../src/libkolabxml.so.1.1.2 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[ 97%] Built target kolabconversationtest
[100%] Linking CXX shared module _kolabformat.so
cd /<<PKGBUILDDIR>>/build-py3/src/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/kolabformat.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -Wno-maybe-uninitialized  -Wl,-z,relro -Wl,--as-needed -shared  -o _kolabformat.so CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o ../libkolabxml.so.1.1.2 -lpython3.5m -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/build-py3/src: 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
[100%] Built target kolabformat
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build-py3/CMakeFiles 0
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-py3'
dh_auto_build --parallel
	make -j2
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/xsdbin.dir/build.make CMakeFiles/xsdbin.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/xsdbin.dir/DependInfo.cmake --color=
Scanning dependencies of target xsdbin
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/xsdbin.dir/build.make CMakeFiles/xsdbin.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  1%] Building CXX object CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o
/usr/bin/c++    -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive   -o CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o -c /<<PKGBUILDDIR>>/compiled/xsdbin.cxx
[  3%] Linking CXX executable xsdbin
/usr/bin/cmake -E cmake_link_script CMakeFiles/xsdbin.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive   -Wl,-z,relro -Wl,--as-needed CMakeFiles/xsdbin.dir/compiled/xsdbin.cxx.o  -o xsdbin -rdynamic -lxerces-c 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  3%] Built target xsdbin
make -f CMakeFiles/generate_bindings.dir/build.make CMakeFiles/generate_bindings.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/generate_bindings.dir/DependInfo.cmake --color=
Scanning dependencies of target generate_bindings
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/generate_bindings.dir/build.make CMakeFiles/generate_bindings.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  5%] Compiling Kolab XSD schema
cd /<<PKGBUILDDIR>> && /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/xsdbin --verbose --array-name iCalendar_schema --output-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd /<<PKGBUILDDIR>>/schemas/xCard.xsd /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
[  7%] Generating XSD bindings
cd /<<PKGBUILDDIR>> && /usr/bin/xsdcxx cxx-tree --generate-polymorphic --generate-serialization --namespace-map http://kolab.org=KolabXSD --root-element icalendar --root-element vcards --root-element note --root-element configuration --root-element file --output-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd /<<PKGBUILDDIR>>/schemas/xCard.xsd /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/kolabformat-xcal.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-params.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-props.xsd
loading /<<PKGBUILDDIR>>/schemas/ical/iCalendar-valtypes.xsd
loading /<<PKGBUILDDIR>>/schemas/kolabformat-xcard.xsd
loading /<<PKGBUILDDIR>>/schemas/xCard.xsd
loading /<<PKGBUILDDIR>>/schemas/kolabformat.xsd
uncomressed data size 262144 bytes
comressed data size 132224 bytes
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  7%] Built target generate_bindings
make -f src/CMakeFiles/kolabxml.dir/build.make src/CMakeFiles/kolabxml.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/kolabxml.dir/DependInfo.cmake --color=
Scanning dependencies of target kolabxml
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/CMakeFiles/kolabxml.dir/build.make src/CMakeFiles/kolabxml.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 11%] Building CXX object src/CMakeFiles/kolabxml.dir/kolabformat.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/kolabformat.cpp.o -c /<<PKGBUILDDIR>>/src/kolabformat.cpp
[  9%] Building CXX object src/CMakeFiles/kolabxml.dir/objectvalidation.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/objectvalidation.cpp.o -c /<<PKGBUILDDIR>>/src/objectvalidation.cpp
[ 13%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabcontainers.cpp
[ 15%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabnote.cpp
[ 17%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabevent.cpp
[ 19%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabtodo.cpp
[ 21%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabjournal.cpp
[ 23%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabcontact.cpp
[ 25%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabconfiguration.cpp
[ 27%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabfreebusy.cpp
[ 29%] Building CXX object src/CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o -c /<<PKGBUILDDIR>>/src/containers/kolabfile.cpp
[ 31%] Building CXX object src/CMakeFiles/kolabxml.dir/utils.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/utils.cpp.o -c /<<PKGBUILDDIR>>/src/utils.cpp
[ 33%] Building CXX object src/CMakeFiles/kolabxml.dir/base64.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/base64.cpp.o -c /<<PKGBUILDDIR>>/src/base64.cpp
[ 35%] Building CXX object src/CMakeFiles/kolabxml.dir/uriencode.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/uriencode.cpp.o -c /<<PKGBUILDDIR>>/src/uriencode.cpp
[ 37%] Building CXX object src/CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o -c /<<PKGBUILDDIR>>/compiled/XMLParserWrapper.cpp
[ 39%] Building CXX object src/CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o -c /<<PKGBUILDDIR>>/compiled/grammar-input-stream.cxx
[ 41%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat.cxx
[ 43%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/xCard.cxx
[ 45%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcal.cxx
[ 47%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcard.cxx
[ 49%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/iCalendar-params.cxx
[ 50%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/iCalendar-props.cxx
[ 52%] Building CXX object src/CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/iCalendar-valtypes.cxx
[ 54%] Building CXX object src/CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -Dkolabxml_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC   -Wall -Wextra -Wconversion -Wl,--no-undefined -o CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kolabformat-xcal-schema.cxx
[ 56%] Linking CXX shared library libkolabxml.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kolabxml.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2  -Wl,-z,relro -Wl,--as-needed -shared -Wl,-soname,libkolabxml.so.1 -o libkolabxml.so.1.1.2 CMakeFiles/kolabxml.dir/kolabformat.cpp.o CMakeFiles/kolabxml.dir/objectvalidation.cpp.o CMakeFiles/kolabxml.dir/containers/kolabcontainers.cpp.o CMakeFiles/kolabxml.dir/containers/kolabnote.cpp.o CMakeFiles/kolabxml.dir/containers/kolabevent.cpp.o CMakeFiles/kolabxml.dir/containers/kolabtodo.cpp.o CMakeFiles/kolabxml.dir/containers/kolabjournal.cpp.o CMakeFiles/kolabxml.dir/containers/kolabcontact.cpp.o CMakeFiles/kolabxml.dir/containers/kolabconfiguration.cpp.o CMakeFiles/kolabxml.dir/containers/kolabfreebusy.cpp.o CMakeFiles/kolabxml.dir/containers/kolabfile.cpp.o CMakeFiles/kolabxml.dir/utils.cpp.o CMakeFiles/kolabxml.dir/base64.cpp.o CMakeFiles/kolabxml.dir/uriencode.cpp.o CMakeFiles/kolabxml.dir/__/compiled/XMLParserWrapper.cpp.o CMakeFiles/kolabxml.dir/__/compiled/grammar-input-stream.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat.cxx.o CMakeFiles/kolabxml.dir/__/bindings/xCard.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcal.cxx.o CMakeFiles/kolabxml.dir/__/bindings/kolabformat-xcard.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-params.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-props.cxx.o CMakeFiles/kolabxml.dir/__/bindings/iCalendar-valtypes.cxx.o CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl 
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libkolabxml.so.1.1.2 libkolabxml.so.1 libkolabxml.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 56%] Built target kolabxml
make -f src/python/CMakeFiles/kolabformat.dir/build.make src/python/CMakeFiles/kolabformat.dir/depend
make -f src/php/CMakeFiles/generate_php_bindings.dir/build.make src/php/CMakeFiles/generate_php_bindings.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/php /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/CMakeFiles/generate_php_bindings.dir/DependInfo.cmake --color=
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 58%] Generating python bindings
cd /<<PKGBUILDDIR>>/src/python && /usr/bin/swig -v -c++ -python -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python/python_kolabformat_wrapper.cpp ../kolabformat.i
Scanning dependencies of target generate_php_bindings
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/php/CMakeFiles/generate_php_bindings.dir/build.make src/php/CMakeFiles/generate_php_bindings.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 60%] Generating php bindings
cd /<<PKGBUILDDIR>>/src/php && /usr/bin/swig -v -c++ -php -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp ../kolabformat.i
Language subdirectory: php
Search paths:
   ./
   ./swig_lib/php/
   /usr/share/swig3.0/php/
   ./swig_lib/
   /usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
Language subdirectory: python
Search paths:
   ./
   ./swig_lib/python/
   /usr/share/swig3.0/python/
   ./swig_lib/
   /usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Processing nested classes...
Generating wrappers...
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 60%] Built target generate_php_bindings
make -f src/php/CMakeFiles/phpbindings.dir/build.make src/php/CMakeFiles/phpbindings.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/php /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/CMakeFiles/phpbindings.dir/DependInfo.cmake --color=
Scanning dependencies of target phpbindings
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/php/CMakeFiles/phpbindings.dir/build.make src/php/CMakeFiles/phpbindings.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 62%] Building CXX object src/php/CMakeFiles/phpbindings.dir/php_kolabformat_wrapper.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php && /usr/bin/c++   -Dphpbindings_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/php/.. -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -Wno-unused-variable -Wno-unused-label -Wno-maybe-uninitialized -Wno-unused-function -fPIC   -o CMakeFiles/phpbindings.dir/php_kolabformat_wrapper.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:889: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);
                                                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2718:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2760:82: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
                                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10629:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10647:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10665:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10683:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10701:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10719:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10808:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10834:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10938:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10964:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11068:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11094:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11198:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11224:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11328:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11354:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11458:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11484:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11588:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11614:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11718:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11744:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11848:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11874:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12707:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13060:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13125:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13151:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13208:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14044:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14070:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14096:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14272:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14298:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14378:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16276:82: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
                                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16333:82: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
                                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16523:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17430:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17487:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17544:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17713:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17938:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18277:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19159:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19216:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19273:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19498:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19723:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20062:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20486:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20543:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20600:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21353:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21379:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21585:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21642:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21699:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21756:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21813:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21870:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21946:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22064:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22090:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22426:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22674:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23300:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23451:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23641:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23754:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24037:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24237:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24350:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24407:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25030:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25056:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26061:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26373:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26430:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26487:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26695:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26866:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26923:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27106:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27132:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27245:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27360:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27543:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27569:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27626:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27683:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27740:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28010:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28067:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28180:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28293:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28350:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28715:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29159:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29471:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30062:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30088:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30114:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30341:88: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
                                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void SWIG_landfill(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:826:51: error: 'rsrc' was not declared in this scope
 static ZEND_RSRC_DTOR_FUNC(SWIG_landfill) { (void)rsrc; }
                                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void SWIG_ZTS_SetPointerZval(zval*, void*, swig_type_info*, int)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:849:66: error: 'ZEND_REGISTER_RESOURCE' was not declared in this scope
       ZEND_REGISTER_RESOURCE(z, value, *(int *)(type->clientdata));
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:870:29: error: 'MAKE_STD_ZVAL' was not declared in this scope
       MAKE_STD_ZVAL(resource);
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:871:73: error: 'ZEND_REGISTER_RESOURCE' was not declared in this scope
       ZEND_REGISTER_RESOURCE(resource, value, *(int *)(type->clientdata));
                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:876:93: error: cannot convert 'char*' to 'zend_string* {aka _zend_string*}' for argument '1' to 'zend_class_entry* zend_lookup_class(zend_string*)'
         result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, &ce TSRMLS_CC);
                                                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:879:83: error: cannot convert 'char*' to 'zend_string* {aka _zend_string*}' for argument '1' to 'zend_class_entry* zend_lookup_class(zend_string*)'
         result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS_CC);
                                                                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:762:32: error: 'zval {aka struct _zval_struct}' has no member named 'is_ref'
 # define Z_SET_ISREF_P(z) (z)->is_ref = 1
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:888:7: note: in expansion of macro 'Z_SET_ISREF_P'
       Z_SET_ISREF_P(z);
       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:889:7: error: 'zend_hash_update' was not declared in this scope
       zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL);
       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:944:70: error: 'zend_list_find' was not declared in this scope
   value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type);
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:951:51: warning: invalid conversion from 'zend_long {aka long int}' to 'zend_resource* {aka _zend_resource*}' [-fpermissive]
   type_name=zend_rsrc_list_get_rsrc_type(z->value.lval TSRMLS_CC);
                                                   ^
In file included from /usr/include/php/20151012/Zend/zend_API.h:28:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:
/usr/include/php/20151012/Zend/zend_list.h:68:22: note:   initializing argument 1 of 'const char* zend_rsrc_list_get_rsrc_type(zend_resource*)'
 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'int SWIG_ZTS_ConvertPtr(zval*, void**, swig_type_info*, int)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:965:14: error: 'zval {aka struct _zval_struct}' has no member named 'type'
   switch (z->type) {
              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:968:82: error: cannot convert 'char*' to 'zend_string* {aka _zend_string*}' for argument '2' to 'zval* zend_hash_find(const HashTable*, zend_string*)'
       if (zend_hash_find(HASH_OF(z),(char*)"_cPtr",sizeof("_cPtr"),(void**)&_cPtr)==SUCCESS) {
                                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:969:16: error: 'zval {aka struct _zval_struct}' has no member named 'type'
  if ((*_cPtr)->type==IS_RESOURCE) {
                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'swig_module_info* SWIG_Php_GetModule()':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:993:24: error: 'MAKE_STD_ZVAL' was not declared in this scope
   MAKE_STD_ZVAL(pointer);
                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:995:78: error: cannot convert 'char*' to 'zend_string* {aka _zend_string*}' for argument '1' to 'zval* zend_get_constant(zend_string*)'
   if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) {
                                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:996:18: error: 'zval {aka struct _zval_struct}' has no member named 'type'
     if (pointer->type == IS_LONG) {
                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:1000:20: error: 'FREE_ZVAL' was not declared in this scope
   FREE_ZVAL(pointer);
                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_swig_kolabformat_alter_newobject(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:1138:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:1142:79: error: 'zend_list_find' was not declared in this scope
   value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type);
                                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_swig_kolabformat_get_newobject(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:1153:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:1157:79: error: 'zend_list_find' was not declared in this scope
   value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type);
                                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectori__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2112:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2118:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2118:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2119:59: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< int >::size_type) Z_LVAL_PP(args[0]);
                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectori(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2137:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2143:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2161:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2187:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2213:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2225:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2225:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2226:59: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< int >::size_type) Z_LVAL_PP(args[1]);
                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2242:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2267:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2279:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2279:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2280:61: error: 'Z_LVAL_PP' was not declared in this scope
   temp2 = (std::vector< int >::value_type) Z_LVAL_PP(args[1]);
                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2298:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2324:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2360:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2372:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2372:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2373:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectori_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2403:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2415:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2415:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2416:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2421:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2421:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2445:35: error: variable or field '__wrap_delete_vectori' declared void
 static void __wrap_delete_vectori(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2445:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2445:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectori(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2445:63: error: expected primary-expression before 'const'
 static void __wrap_delete_vectori(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectors__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2486:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2492:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2492:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2493:67: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< std::string >::size_type) Z_LVAL_PP(args[0]);
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectors(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2511:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2517:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2535:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2561:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2587:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2599:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2599:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2600:67: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< std::string >::size_type) Z_LVAL_PP(args[1]);
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2616:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2641:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2653:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2653:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2671:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2697:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2718:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2733:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2745:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2745:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2746:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2760:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectors_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2776:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2788:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2788:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2789:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2793:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2793:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2793:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2794:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp3.assign(Z_STRVAL_PP(args[2]), Z_STRLEN_PP(args[2]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2794:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp3.assign(Z_STRVAL_PP(args[2]), Z_STRLEN_PP(args[2]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2817:35: error: variable or field '__wrap_delete_vectors' declared void
 static void __wrap_delete_vectors(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2817:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2817:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectors(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2817:63: error: expected primary-expression before 'const'
 static void __wrap_delete_vectors(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectordaypos__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2858:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2864:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2864:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2865:69: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::DayPos >::size_type) Z_LVAL_PP(args[0]);
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectordaypos(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2883:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2889:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2907:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2933:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2959:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2971:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2971:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2972:69: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::DayPos >::size_type) Z_LVAL_PP(args[1]);
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:2988:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3012:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3041:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3067:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3104:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3116:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3116:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3117:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordaypos_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3146:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3158:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3158:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3159:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3186:40: error: variable or field '__wrap_delete_vectordaypos' declared void
 static void __wrap_delete_vectordaypos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3186:40: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3186:62: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectordaypos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3186:68: error: expected primary-expression before 'const'
 static void __wrap_delete_vectordaypos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcs__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3227:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3233:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3233:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3234:77: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::CustomProperty >::size_type) Z_LVAL_PP(args[0]);
                                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcs(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3252:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3258:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3276:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3302:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3328:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3340:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3340:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3341:77: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::CustomProperty >::size_type) Z_LVAL_PP(args[1]);
                                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3357:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3381:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3410:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3436:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3473:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3485:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3485:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3486:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcs_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3515:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3527:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3527:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3528:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3555:36: error: variable or field '__wrap_delete_vectorcs' declared void
 static void __wrap_delete_vectorcs(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3555:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3555:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorcs(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3555:64: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorcs(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoraddress__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3596:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3602:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3602:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3603:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Address >::size_type) Z_LVAL_PP(args[0]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoraddress(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3621:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3627:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3645:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3671:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3697:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3709:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3709:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3710:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Address >::size_type) Z_LVAL_PP(args[1]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3726:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3750:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3779:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3805:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3842:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3854:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3854:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3855:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraddress_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3884:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3896:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3896:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3897:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3924:41: error: variable or field '__wrap_delete_vectoraddress' declared void
 static void __wrap_delete_vectoraddress(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3924:41: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3924:63: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectoraddress(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3924:69: error: expected primary-expression before 'const'
 static void __wrap_delete_vectoraddress(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoraffiliation__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3965:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3971:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3971:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3972:74: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Affiliation >::size_type) Z_LVAL_PP(args[0]);
                                                                          ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoraffiliation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3990:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:3996:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4014:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4040:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4066:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4078:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4078:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4079:74: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Affiliation >::size_type) Z_LVAL_PP(args[1]);
                                                                          ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4095:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4119:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4148:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4174:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4211:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4223:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4223:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4224:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoraffiliation_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4253:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4265:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4265:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4266:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4293:45: error: variable or field '__wrap_delete_vectoraffiliation' declared void
 static void __wrap_delete_vectoraffiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4293:45: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4293:67: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectoraffiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4293:73: error: expected primary-expression before 'const'
 static void __wrap_delete_vectoraffiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoralarm__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4334:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4340:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4340:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4341:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Alarm >::size_type) Z_LVAL_PP(args[0]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoralarm(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4359:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4365:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4383:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4409:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4435:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4447:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4447:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4448:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Alarm >::size_type) Z_LVAL_PP(args[1]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4464:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4488:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4517:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4543:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4580:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4592:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4592:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4593:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoralarm_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4622:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4634:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4634:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4635:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4662:39: error: variable or field '__wrap_delete_vectoralarm' declared void
 static void __wrap_delete_vectoralarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4662:39: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4662:61: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectoralarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4662:67: error: expected primary-expression before 'const'
 static void __wrap_delete_vectoralarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorattachment__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4703:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4709:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4709:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4710:73: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Attachment >::size_type) Z_LVAL_PP(args[0]);
                                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorattachment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4728:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4734:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4752:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4778:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4804:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4816:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4816:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4817:73: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Attachment >::size_type) Z_LVAL_PP(args[1]);
                                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4833:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4857:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4886:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4912:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4949:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4961:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4961:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4962:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattachment_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:4991:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5003:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5003:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5004:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5031:44: error: variable or field '__wrap_delete_vectorattachment' declared void
 static void __wrap_delete_vectorattachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5031:44: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5031:66: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorattachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5031:72: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorattachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorattendee__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5072:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5078:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5078:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5079:71: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Attendee >::size_type) Z_LVAL_PP(args[0]);
                                                                       ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorattendee(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5097:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5103:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5121:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5147:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5173:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5185:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5185:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5186:71: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Attendee >::size_type) Z_LVAL_PP(args[1]);
                                                                       ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5202:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5226:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5255:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5281:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5318:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5330:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5330:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5331:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorattendee_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5360:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5372:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5372:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5373:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5400:42: error: variable or field '__wrap_delete_vectorattendee' declared void
 static void __wrap_delete_vectorattendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5400:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5400:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorattendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5400:70: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorattendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcontactref__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5441:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5447:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5447:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5448:79: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::ContactReference >::size_type) Z_LVAL_PP(args[0]);
                                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcontactref(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5466:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5472:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5490:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5516:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5542:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5554:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
Processing types...
C++ analysis...
Processing nested classes...
Generating wrappers...
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/python /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python/CMakeFiles/kolabformat.dir/DependInfo.cmake --color=
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5554:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5555:79: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::ContactReference >::size_type) Z_LVAL_PP(args[1]);
                                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5571:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5595:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5624:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5650:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5687:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5699:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5699:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5700:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcontactref_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5729:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5741:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5741:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5742:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5769:44: error: variable or field '__wrap_delete_vectorcontactref' declared void
 static void __wrap_delete_vectorcontactref(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5769:44: error: 'zend_rsrc_list_entry' was not declared in this scope
Scanning dependencies of target kolabformat
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/python/CMakeFiles/kolabformat.dir/build.make src/python/CMakeFiles/kolabformat.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5769:66: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorcontactref(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5769:72: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorcontactref(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorgeo__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5810:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5816:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5816:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5817:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Geo >::size_type) Z_LVAL_PP(args[0]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorgeo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5835:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5841:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5859:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5885:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5911:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5923:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5923:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5924:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Geo >::size_type) Z_LVAL_PP(args[1]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5940:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5964:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:5993:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6019:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6056:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6068:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
[ 64%] Building CXX object src/python/CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6068:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6069:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python && /usr/bin/c++   -Dkolabformat_EXPORTS -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/compiled -I/<<PKGBUILDDIR>>/src/containers -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/python/.. -I/usr/include/python2.7  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -Wno-maybe-uninitialized -fPIC   -o CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python/python_kolabformat_wrapper.cpp
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorgeo_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6098:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6110:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6110:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6111:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6138:37: error: variable or field '__wrap_delete_vectorgeo' declared void
 static void __wrap_delete_vectorgeo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6138:37: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6138:59: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorgeo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6138:65: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorgeo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorevent__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6179:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6185:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6185:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6186:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Event >::size_type) Z_LVAL_PP(args[0]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorevent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6204:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6210:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6228:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6254:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6280:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6292:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6292:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6293:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Event >::size_type) Z_LVAL_PP(args[1]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6309:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6333:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6362:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6388:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6425:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6437:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6437:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6438:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorevent_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6467:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6479:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6479:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6480:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6507:39: error: variable or field '__wrap_delete_vectorevent' declared void
 static void __wrap_delete_vectorevent(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6507:39: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6507:61: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorevent(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6507:67: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorevent(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorrelated__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6548:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6554:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6554:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6555:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Related >::size_type) Z_LVAL_PP(args[0]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorrelated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6573:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6579:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6597:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6623:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6649:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6662:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Related >::size_type) Z_LVAL_PP(args[1]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6678:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6702:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6731:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6757:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6794:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6806:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6806:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6807:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorrelated_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6836:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6848:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6848:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6849:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6876:41: error: variable or field '__wrap_delete_vectorrelated' declared void
 static void __wrap_delete_vectorrelated(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6876:41: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6876:63: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorrelated(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6876:69: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorrelated(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectortelephone__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6917:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6923:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6923:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6924:72: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Telephone >::size_type) Z_LVAL_PP(args[0]);
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectortelephone(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6942:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6948:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6966:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:6992:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7018:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7030:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7030:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7031:72: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Telephone >::size_type) Z_LVAL_PP(args[1]);
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7047:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7071:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7100:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7126:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7163:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7175:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7175:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7176:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortelephone_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7205:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7217:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7217:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7218:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7245:43: error: variable or field '__wrap_delete_vectortelephone' declared void
 static void __wrap_delete_vectortelephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7245:43: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7245:65: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectortelephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7245:71: error: expected primary-expression before 'const'
 static void __wrap_delete_vectortelephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                       ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectortodo__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7286:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7292:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7292:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7293:67: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Todo >::size_type) Z_LVAL_PP(args[0]);
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectortodo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7311:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7317:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7335:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7361:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7387:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7399:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7399:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7400:67: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Todo >::size_type) Z_LVAL_PP(args[1]);
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7416:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7440:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7469:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7495:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7532:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7544:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7544:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7545:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectortodo_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7574:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7586:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7586:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7587:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7614:38: error: variable or field '__wrap_delete_vectortodo' declared void
 static void __wrap_delete_vectortodo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7614:38: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7614:60: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectortodo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7614:66: error: expected primary-expression before 'const'
 static void __wrap_delete_vectortodo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoremail__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7655:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7662:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Email >::size_type) Z_LVAL_PP(args[0]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectoremail(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7680:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7686:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7704:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7730:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7756:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7768:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7768:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7769:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Email >::size_type) Z_LVAL_PP(args[1]);
                                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7785:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7809:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7838:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7864:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7901:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7913:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7913:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7914:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectoremail_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7943:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7955:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7955:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7956:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7983:39: error: variable or field '__wrap_delete_vectoremail' declared void
 static void __wrap_delete_vectoremail(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7983:39: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7983:61: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectoremail(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:7983:67: error: expected primary-expression before 'const'
 static void __wrap_delete_vectoremail(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectordatetime__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8024:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8030:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8030:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8031:72: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::cDateTime >::size_type) Z_LVAL_PP(args[0]);
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectordatetime(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8049:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8055:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8073:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8099:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8125:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8137:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8137:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8138:72: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::cDateTime >::size_type) Z_LVAL_PP(args[1]);
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8154:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8178:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8207:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8233:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8270:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8282:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8282:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8283:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectordatetime_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8312:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8324:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8324:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8325:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8352:42: error: variable or field '__wrap_delete_vectordatetime' declared void
 static void __wrap_delete_vectordatetime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8352:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8352:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectordatetime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8352:70: error: expected primary-expression before 'const'
 static void __wrap_delete_vectordatetime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorurl__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8393:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8399:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8399:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8400:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Url >::size_type) Z_LVAL_PP(args[0]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorurl(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8418:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8424:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8442:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8468:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8494:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8507:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Url >::size_type) Z_LVAL_PP(args[1]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8523:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8547:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8576:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8602:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8639:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8651:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8651:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8652:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorurl_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8681:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8693:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8693:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8694:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8721:37: error: variable or field '__wrap_delete_vectorurl' declared void
 static void __wrap_delete_vectorurl(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8721:37: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8721:59: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorurl(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8721:65: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorurl(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorkey__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8762:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8768:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8768:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8769:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Key >::size_type) Z_LVAL_PP(args[0]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorkey(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8787:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8793:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8811:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8837:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8863:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8876:66: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Key >::size_type) Z_LVAL_PP(args[1]);
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8892:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8916:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8945:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:8971:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9008:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9020:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9020:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9021:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorkey_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9050:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9062:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9062:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9063:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9090:37: error: variable or field '__wrap_delete_vectorkey' declared void
 static void __wrap_delete_vectorkey(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9090:37: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9090:59: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorkey(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9090:65: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorkey(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcategorycolor__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9131:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9137:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9137:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9138:76: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::CategoryColor >::size_type) Z_LVAL_PP(args[0]);
                                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorcategorycolor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9156:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9162:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9180:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9206:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9232:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9244:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9244:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9245:76: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::CategoryColor >::size_type) Z_LVAL_PP(args[1]);
                                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9261:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9285:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9314:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9340:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9377:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9389:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9389:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9390:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorcategorycolor_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9419:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9431:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9431:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9432:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9459:47: error: variable or field '__wrap_delete_vectorcategorycolor' declared void
 static void __wrap_delete_vectorcategorycolor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9459:47: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9459:69: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorcategorycolor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9459:75: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorcategorycolor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorsnippet__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9500:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9507:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Snippet >::size_type) Z_LVAL_PP(args[0]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorsnippet(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9525:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9531:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9549:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9575:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9601:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9613:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9613:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9614:70: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Snippet >::size_type) Z_LVAL_PP(args[1]);
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9630:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9654:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9683:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9709:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9746:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9758:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9758:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9759:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorsnippet_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9788:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9800:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9800:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9801:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9828:41: error: variable or field '__wrap_delete_vectorsnippet' declared void
 static void __wrap_delete_vectorsnippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9828:41: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9828:63: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorsnippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9828:69: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorsnippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorfreebusyperiod__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9869:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9876:77: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::FreebusyPeriod >::size_type) Z_LVAL_PP(args[0]);
                                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorfreebusyperiod(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9894:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9900:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9918:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9944:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9970:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9982:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9982:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9983:77: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::FreebusyPeriod >::size_type) Z_LVAL_PP(args[1]);
                                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:9999:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10023:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10052:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10078:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10115:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10127:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10127:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10128:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorfreebusyperiod_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10157:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10169:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10169:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10170:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10197:48: error: variable or field '__wrap_delete_vectorfreebusyperiod' declared void
 static void __wrap_delete_vectorfreebusyperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10197:48: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10197:70: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorfreebusyperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10197:76: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorfreebusyperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorperiod__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10238:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10244:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10244:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10245:69: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (std::vector< Kolab::Period >::size_type) Z_LVAL_PP(args[0]);
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_vectorperiod(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10263:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10269:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_size(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10287:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_capacity(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10313:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_reserve(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10339:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10351:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10351:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10352:69: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (std::vector< Kolab::Period >::size_type) Z_LVAL_PP(args[1]);
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_clear(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10368:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_push(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10392:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_is_empty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10421:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_pop(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10447:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10484:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10496:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10496:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10497:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_vectorperiod_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10526:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10538:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10538:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10539:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10566:40: error: variable or field '__wrap_delete_vectorperiod' declared void
 static void __wrap_delete_vectorperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10566:40: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10566:62: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_vectorperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10566:68: error: expected primary-expression before 'const'
 static void __wrap_delete_vectorperiod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_errorMessage(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10629:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_productId(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10647:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_xKolabVersion(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10665:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_xCalVersion(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10683:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_getSerializedUID(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10701:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_generateUID(zend_execute_data*, zval*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10719:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_overrideTimestamp(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10732:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readEvent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10757:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10762:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10762:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10762:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10763:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10763:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10768:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10768:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10769:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeEvent__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10792:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10803:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10803:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10808:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeEvent__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10823:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10834:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeEvent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10847:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10865:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readTodo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10887:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10893:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10893:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10898:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10898:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10899:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeTodo__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10922:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10932:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10932:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10932:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10933:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10933:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10938:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeTodo__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10953:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10964:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeTodo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10977:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:10995:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readJournal(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11017:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11022:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11022:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11022:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11023:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11023:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11028:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11028:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11029:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeJournal__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11052:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11062:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11062:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11062:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11063:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11063:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11068:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeJournal__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11083:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11094:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeJournal(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11107:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11125:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readFreebusy(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11147:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11152:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11152:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11152:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11153:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11153:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11158:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11158:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11159:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeFreebusy__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11182:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11192:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11192:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11192:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11193:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11193:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11198:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeFreebusy__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11213:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11224:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeFreebusy(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11237:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11255:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readContact(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11277:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11282:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11282:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11282:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11283:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11283:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11288:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11288:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11289:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeContact__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11312:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11322:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11322:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11322:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11323:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11323:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11328:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeContact__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11343:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11354:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeContact(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11367:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11385:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readDistlist(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11407:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11412:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11412:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11412:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11413:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11413:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11418:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11418:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11419:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeDistlist__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11442:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11452:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11452:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11452:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11453:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11453:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11458:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeDistlist__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11473:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11484:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeDistlist(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11497:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11515:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readNote(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11537:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11542:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11542:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11542:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11543:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11543:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11548:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11548:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11549:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeNote__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11572:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11582:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11582:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11582:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11583:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11583:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11588:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeNote__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11603:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11614:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeNote(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11627:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11645:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readConfiguration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11667:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11672:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11672:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11672:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11673:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11673:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11678:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11678:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11679:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeConfiguration__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11702:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11712:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11712:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11712:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11713:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11713:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11718:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeConfiguration__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11733:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11744:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeConfiguration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11757:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11775:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_readKolabFile(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11797:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11803:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11803:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11808:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11808:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11809:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeKolabFile__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11832:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11842:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11842:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11842:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11843:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11843:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11848:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeKolabFile__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11863:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11874:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_writeKolabFile(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11887:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11905:31: error: 'Z_TYPE_PP' was not declared in this scope
       _v = ( Z_TYPE_PP(argv[1]) == IS_STRING ) ? 1 : 0;
                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11949:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11955:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11955:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11956:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11961:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11961:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11967:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11967:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11973:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11973:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11979:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11979:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11985:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11985:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11991:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[6]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:11991:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[6]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12016:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12022:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12022:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12023:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12028:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12028:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12034:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12034:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12040:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12040:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12046:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12046:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12052:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12052:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime__SWIG_3(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12079:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12084:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12084:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12084:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12085:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12085:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12090:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12090:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12091:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12096:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12096:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12102:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12102:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12108:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12108:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12114:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12114:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[5]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12120:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[6]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12120:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[6]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime__SWIG_4(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12143:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12149:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12149:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12150:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12155:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12155:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12161:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12161:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12177:37: error: variable or field '__wrap_delete_cDateTime' declared void
 static void __wrap_delete_cDateTime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12177:37: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12177:59: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_cDateTime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12177:65: error: expected primary-expression before 'const'
 static void __wrap_delete_cDateTime(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime__SWIG_5(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12200:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_cDateTime(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12224:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12240:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12253:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12275:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12287:45: error: 'IS_BOOL' was not declared in this scope
                 _v = (Z_TYPE_PP(argv[6]) == IS_BOOL); 
                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12301:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_setDate(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12340:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12352:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12352:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12353:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12358:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12358:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12364:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12364:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_year(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12382:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_month(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12408:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_day(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12434:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_isDateOnly(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12460:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_setTime(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12488:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12500:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12500:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12501:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12506:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12512:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12512:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_hour(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12530:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_minute(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12556:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_second(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12582:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_setUTC(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12608:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12620:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12620:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12621:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_isUTC(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12638:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_setTimezone(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12665:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12676:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12676:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12676:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12677:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12677:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_timezone(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12695:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12707:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_cDateTime_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12721:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_DayPos__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12766:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12772:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12772:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12773:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12778:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12778:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_DayPos(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12797:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12803:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DayPos_occurence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12824:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DayPos_weekday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12850:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DayPos_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12876:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12898:34: error: variable or field '__wrap_delete_DayPos' declared void
 static void __wrap_delete_DayPos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12898:34: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12898:56: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_DayPos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12898:62: error: expected primary-expression before 'const'
 static void __wrap_delete_DayPos(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                              ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Attachment__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12939:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Attachment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12963:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12986:38: error: variable or field '__wrap_delete_Attachment' declared void
 static void __wrap_delete_Attachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12986:38: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12986:60: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Attachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:12986:66: error: expected primary-expression before 'const'
 static void __wrap_delete_Attachment(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_setUri(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13012:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13023:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13023:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13023:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13024:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13024:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13028:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13028:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13028:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_uri(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13048:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13060:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_setData(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13077:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13088:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13088:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13088:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13089:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13089:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13093:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13093:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13093:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_data(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13113:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13125:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_mimetype(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13139:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13151:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_setLabel(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13166:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13178:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13178:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_label(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13196:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13208:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attachment_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13222:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Duration__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13267:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13273:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13273:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13274:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13279:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13279:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Duration__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13299:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13305:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13305:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13306:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Duration__SWIG_3(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13329:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13335:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13335:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13336:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13341:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13341:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13347:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13347:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13353:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13353:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13359:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[4]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13359:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[4]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Duration__SWIG_4(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13382:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13388:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13388:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13389:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (int) Z_LVAL_PP(args[0]);
                                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13394:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13394:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13400:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13400:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13406:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13406:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[3]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Duration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13425:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13431:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13438:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13440:35: error: 'IS_BOOL' was not declared in this scope
       _v = (Z_TYPE_PP(argv[1]) == IS_BOOL); 
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13448:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13464:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13472:41: error: 'IS_BOOL' was not declared in this scope
             _v = (Z_TYPE_PP(argv[4]) == IS_BOOL); 
                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_weeks(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13494:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_days(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13520:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_hours(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13546:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_minutes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13572:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_seconds(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13598:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_isNegative(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13624:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Duration_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13650:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13672:36: error: variable or field '__wrap_delete_Duration' declared void
 static void __wrap_delete_Duration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13672:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13672:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Duration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13672:64: error: expected primary-expression before 'const'
 static void __wrap_delete_Duration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13718:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13724:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13724:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13728:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13728:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13728:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13733:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13733:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13733:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13759:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13764:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13764:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13764:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13765:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13765:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13769:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13769:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13769:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference__SWIG_3(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13792:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13797:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13797:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13797:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13798:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13798:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference__SWIG_4(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13822:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13828:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13828:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13829:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (Kolab::ContactReference::ReferenceType) Z_LVAL_PP(args[0]);
                                                                    ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13833:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13833:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13833:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13834:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13834:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13838:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13838:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13838:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference__SWIG_5(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13862:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13868:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13868:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13869:68: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (Kolab::ContactReference::ReferenceType) Z_LVAL_PP(args[0]);
                                                                    ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13873:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13873:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13873:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13874:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13874:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_ContactReference(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13893:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13900:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13908:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13920:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13932:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13948:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:13975:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_setName(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14002:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14013:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14013:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14013:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14014:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14014:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_email(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14032:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14044:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14058:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14070:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14084:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14096:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_ContactReference_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14110:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14132:44: error: variable or field '__wrap_delete_ContactReference' declared void
 static void __wrap_delete_ContactReference(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14132:44: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14132:66: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_ContactReference(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14132:72: error: expected primary-expression before 'const'
 static void __wrap_delete_ContactReference(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                        ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Alarm__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14173:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14194:33: error: variable or field '__wrap_delete_Alarm' declared void
 static void __wrap_delete_Alarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14194:33: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14194:55: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Alarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14194:61: error: expected primary-expression before 'const'
 static void __wrap_delete_Alarm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Alarm__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14222:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14227:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14227:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14227:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14228:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14228:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14232:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14232:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14232:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_summary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14260:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14272:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_description(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14286:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14298:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_attendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14312:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Alarm__SWIG_3(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14340:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14345:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14345:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14345:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14346:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14346:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_text(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14366:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14378:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Alarm__SWIG_4(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14392:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Alarm(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14416:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14443:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14452:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_audioFile(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14481:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_setRelativeStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14509:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14526:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14526:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14527:45: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (Kolab::Relative) Z_LVAL_PP(args[2]);
                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_relativeStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14544:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_relativeTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14571:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_setStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14597:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_start(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14626:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_setDuration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14654:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14671:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14671:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14672:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (int) Z_LVAL_PP(args[2]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_duration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14689:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_numrepeat(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14716:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Alarm_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14742:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_RecurrenceRule__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14786:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_RecurrenceRule(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14810:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14833:42: error: variable or field '__wrap_delete_RecurrenceRule' declared void
 static void __wrap_delete_RecurrenceRule(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14833:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14833:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_RecurrenceRule(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14833:70: error: expected primary-expression before 'const'
 static void __wrap_delete_RecurrenceRule(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setFrequency(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14856:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14868:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14868:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14869:62: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::RecurrenceRule::Frequency) Z_LVAL_PP(args[1]);
                                                              ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_frequency(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14886:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setWeekStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14912:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14924:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14924:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14925:44: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Weekday) Z_LVAL_PP(args[1]);
                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_weekStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14942:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setEnd(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14968:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_end(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:14997:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setCount(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15024:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15036:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15036:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15037:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_count(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15054:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setInterval(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15080:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15092:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15092:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15093:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_interval(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15110:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setBysecond(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15136:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_bysecond(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15165:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setByminute(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15192:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_byminute(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15221:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setByhour(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15248:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_byhour(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15277:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setByday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15304:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_byday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15333:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setBymonthday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15360:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_bymonthday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15389:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setByyearday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15416:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_byyearday(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15445:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setByweekno(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15472:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_byweekno(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15501:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_setBymonth(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15528:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_bymonth(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15557:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_RecurrenceRule_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15584:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Attendee__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15628:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Attendee__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15653:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Attendee(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15677:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15710:36: error: variable or field '__wrap_delete_Attendee' declared void
 static void __wrap_delete_Attendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15710:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15710:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Attendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15710:64: error: expected primary-expression before 'const'
 static void __wrap_delete_Attendee(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15733:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setContact(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15759:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_contact(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15788:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setPartStat(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15815:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15827:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15827:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15828:47: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::PartStatus) Z_LVAL_PP(args[1]);
                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_partStat(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15845:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setRole(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15871:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15883:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15883:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15884:41: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Role) Z_LVAL_PP(args[1]);
                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_role(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15901:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setRSVP(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15927:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15939:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15939:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15940:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_rsvp(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15957:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setDelegatedTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:15983:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_delegatedTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16012:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setDelegatedFrom(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16039:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_delegatedFrom(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16068:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_setCutype(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16095:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16107:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16107:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16108:43: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Cutype) Z_LVAL_PP(args[1]);
                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Attendee_cutype(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16125:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_CustomProperty__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16172:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16177:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16178:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16178:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16182:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16182:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16182:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_CustomProperty(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16203:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16210:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CustomProperty_identifier_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16234:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16245:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16245:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16245:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16246:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16246:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CustomProperty_identifier_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16264:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16276:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CustomProperty_value_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16291:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16303:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16303:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CustomProperty_value_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16321:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16333:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>(result->data()), result->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16343:42: error: variable or field '__wrap_delete_CustomProperty' declared void
 static void __wrap_delete_CustomProperty(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16343:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16343:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_CustomProperty(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16343:70: error: expected primary-expression before 'const'
 static void __wrap_delete_CustomProperty(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16380:33: error: variable or field '__wrap_delete_Event' declared void
 static void __wrap_delete_Event(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16380:33: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16380:55: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Event(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16380:61: error: expected primary-expression before 'const'
 static void __wrap_delete_Event(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Event__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16403:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Event(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16427:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16454:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16481:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16492:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16492:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16492:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16493:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16493:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16511:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16523:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16537:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16566:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16593:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16622:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setSequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16649:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16661:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16662:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_sequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16679:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setClassification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16705:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16717:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16717:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16718:51: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Classification) Z_LVAL_PP(args[1]);
                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_classification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16735:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16761:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16791:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16802:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16803:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16803:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16821:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16848:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_start(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16877:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setEnd(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16904:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_end(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16933:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setDuration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16960:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_duration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:16989:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setTransparency(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17016:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17028:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17028:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17029:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_transparency(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17046:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setRecurrenceRule(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17072:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_recurrenceRule(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17101:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setRecurrenceDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17128:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_addRecurrenceDate(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17157:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_recurrenceDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17186:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setExceptionDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17213:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_addExceptionDate(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17242:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_exceptionDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17271:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setRecurrenceID(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17299:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17316:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17316:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17317:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (bool) Z_LVAL_PP(args[2]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_recurrenceID(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17334:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_thisAndFuture(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17361:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setSummary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17388:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17400:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17400:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_summary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17418:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17430:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setDescription(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17445:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17457:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17457:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_description(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17475:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17487:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setComment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17502:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17513:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17513:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17513:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17514:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17514:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_comment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17532:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17544:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setPriority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17558:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17570:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17570:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17571:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_priority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17588:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setStatus(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17614:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17626:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17626:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17627:43: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Status) Z_LVAL_PP(args[1]);
                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_status(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17644:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setLocation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17671:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17682:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17682:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17682:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17683:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17683:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_location(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17701:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17713:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setOrganizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17727:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_organizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17756:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setAttendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17783:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_attendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17812:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setAttachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17839:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_attachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17868:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setUrl(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17896:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17907:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17907:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17907:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17908:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17908:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_url(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17926:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17938:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17952:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:17981:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setExceptions(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18008:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_exceptions(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18037:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_setAlarms(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18064:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Event_alarms(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18093:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18134:32: error: variable or field '__wrap_delete_Todo' declared void
 static void __wrap_delete_Todo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18134:32: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18134:54: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Todo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18134:60: error: expected primary-expression before 'const'
 static void __wrap_delete_Todo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Todo__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18157:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Todo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18181:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18208:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18235:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18246:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18246:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18246:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18247:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18247:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18265:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18277:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18291:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18320:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18347:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18376:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setSequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18403:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18415:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18415:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18416:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_sequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18433:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setClassification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18459:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18471:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18471:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18472:51: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Classification) Z_LVAL_PP(args[1]);
                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_classification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18489:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18515:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18545:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18556:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18556:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18556:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18557:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18557:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18575:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setRelatedTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18602:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_addRelatedTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18632:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18644:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18644:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_relatedTo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18662:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18689:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_start(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18718:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setDue(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18745:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_due(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18774:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setRecurrenceRule(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18801:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_recurrenceRule(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18830:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setRecurrenceDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18857:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_addRecurrenceDate(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18886:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_recurrenceDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18915:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setExceptionDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18942:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_addExceptionDate(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:18971:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_exceptionDates(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19000:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setRecurrenceID(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19028:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19045:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19045:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19046:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (bool) Z_LVAL_PP(args[2]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_recurrenceID(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19063:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_thisAndFuture(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19090:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setSummary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19117:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19129:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19129:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_summary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19147:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19159:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setDescription(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19174:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19185:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19185:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19185:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19186:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19186:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_description(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19204:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19216:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setComment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19231:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19242:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19242:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19242:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19243:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19243:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_comment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19261:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19273:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setPriority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19287:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19299:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19299:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19300:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_priority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19317:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setStatus(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19343:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19355:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19355:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19356:43: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Status) Z_LVAL_PP(args[1]);
                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_status(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19373:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setPercentComplete(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19399:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19411:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19411:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19412:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_percentComplete(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19429:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setLocation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19456:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19467:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19467:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19467:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19468:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19468:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_location(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19486:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19498:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setOrganizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19512:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_organizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19541:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setAttendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19568:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_attendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19597:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setAttachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19624:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_attachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19653:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setUrl(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19681:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19692:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19692:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19692:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19693:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19693:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_url(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19711:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19723:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19737:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19766:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setExceptions(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19793:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_exceptions(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19822:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_setAlarms(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19849:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Todo_alarms(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19878:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19919:35: error: variable or field '__wrap_delete_Journal' declared void
 static void __wrap_delete_Journal(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19919:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19919:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Journal(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19919:63: error: expected primary-expression before 'const'
 static void __wrap_delete_Journal(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Journal__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19942:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Journal(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19966:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:19993:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20020:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20031:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20031:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20031:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20032:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20032:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20050:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20062:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20076:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20105:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20132:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20161:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setSequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20188:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20200:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20200:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20201:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_sequence(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20218:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setClassification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20244:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20256:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20256:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20257:51: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Classification) Z_LVAL_PP(args[1]);
                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_classification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20274:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20300:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20330:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20341:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20341:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20341:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20342:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20342:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20360:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20387:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_start(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20416:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setSummary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20444:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20455:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20455:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20455:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20456:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20456:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_summary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20474:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20486:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setDescription(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20501:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20512:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20512:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20512:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20513:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20513:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_description(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20531:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20543:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setComment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20558:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20569:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20569:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20569:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20570:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20570:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_comment(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20588:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20600:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setStatus(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20614:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20626:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20626:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20627:43: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Status) Z_LVAL_PP(args[1]);
                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_status(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20644:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setAttendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20670:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_attendees(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20699:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setAttachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20726:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_attachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20755:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20782:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Journal_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20811:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_setSurnames(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20838:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_surnames(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20867:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_setGiven(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20894:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_given(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20923:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_setAdditional(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20950:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_additional(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:20979:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_setPrefixes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21006:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_prefixes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21035:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_setSuffixes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21062:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_suffixes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21091:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_NameComponents_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21118:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21158:42: error: variable or field '__wrap_delete_NameComponents' declared void
 static void __wrap_delete_NameComponents(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21158:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21158:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_NameComponents(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21158:70: error: expected primary-expression before 'const'
 static void __wrap_delete_NameComponents(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Related__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21202:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21208:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21208:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21209:61: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (Kolab::Related::DescriptionType) Z_LVAL_PP(args[0]);
                                                             ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21213:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21213:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21213:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21214:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21214:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21219:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21219:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Related__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21242:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21248:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21248:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21249:61: error: 'Z_LVAL_PP' was not declared in this scope
   arg1 = (Kolab::Related::DescriptionType) Z_LVAL_PP(args[0]);
                                                             ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21253:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21253:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21253:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21254:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21254:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Related(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21273:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21279:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21290:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_LONG); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Related_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21315:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Related_uri(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21341:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21353:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Related_text(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21367:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21379:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Related_setRelationTypes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21393:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21405:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21405:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21406:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Related_relationTypes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21423:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21445:35: error: variable or field '__wrap_delete_Related' declared void
 static void __wrap_delete_Related(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21445:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21445:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Related(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21445:63: error: expected primary-expression before 'const'
 static void __wrap_delete_Related(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setTypes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21486:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21498:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21498:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21499:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_types(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21516:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setLabel(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21543:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21554:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21554:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21554:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21555:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21555:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_label(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21573:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21585:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setStreet(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21600:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21611:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21611:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21611:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21612:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21612:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_street(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21630:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21642:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setLocality(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21657:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21668:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21668:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21668:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21669:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21669:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_locality(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21687:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21699:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setRegion(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21714:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21725:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21725:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21725:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21726:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21726:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_region(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21744:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21756:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setCode(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21771:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21782:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21782:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21782:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21783:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21783:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_code(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21801:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21813:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_setCountry(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21828:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21839:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21839:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21839:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21840:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21840:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Address_country(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21858:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21870:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21880:35: error: variable or field '__wrap_delete_Address' declared void
 static void __wrap_delete_Address(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21880:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21880:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Address(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21880:63: error: expected primary-expression before 'const'
 static void __wrap_delete_Address(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setOrganisation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21904:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21915:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21915:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21915:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21916:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21916:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_organisation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21934:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21946:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setOrganisationalUnits(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21960:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_organisationalUnits(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:21989:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setLogo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22018:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22030:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22030:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22034:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22034:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22034:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_logo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22052:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22064:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_logoMimetype(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22078:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22090:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setRoles(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22104:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_roles(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22133:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setRelateds(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22160:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_relateds(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22189:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_setAddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22216:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Affiliation_addresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22245:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22286:39: error: variable or field '__wrap_delete_Affiliation' declared void
 static void __wrap_delete_Affiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22286:39: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22286:61: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Affiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22286:67: error: expected primary-expression before 'const'
 static void __wrap_delete_Affiliation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Telephone_setTypes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22327:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22339:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22339:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22340:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Telephone_types(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22357:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Telephone_setNumber(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22384:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22395:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22395:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22395:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22396:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22396:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Telephone_number(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22414:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22426:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22436:37: error: variable or field '__wrap_delete_Telephone' declared void
 static void __wrap_delete_Telephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22436:37: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22436:59: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Telephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22436:65: error: expected primary-expression before 'const'
 static void __wrap_delete_Telephone(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Email__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22479:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22484:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22484:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22484:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22485:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22485:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22490:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22490:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22491:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Email__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22512:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22517:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22517:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22517:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22518:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22518:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Email(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22537:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22544:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22553:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Email_setTypes(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22575:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22587:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22587:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22588:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Email_types(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22605:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Email_setAddress(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22632:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22643:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22644:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22644:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Email_address(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22662:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22674:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22684:33: error: variable or field '__wrap_delete_Email' declared void
 static void __wrap_delete_Email(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22684:33: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22684:55: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Email(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22684:61: error: expected primary-expression before 'const'
 static void __wrap_delete_Email(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22725:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_setAllowed(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22751:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22763:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22763:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22764:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_allowed(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22781:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_setSignPref(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22807:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22819:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22819:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22820:55: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Crypto::CryptoPref) Z_LVAL_PP(args[1]);
                                                       ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_signPref(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22837:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_setEncryptPref(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22863:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22875:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22876:55: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Crypto::CryptoPref) Z_LVAL_PP(args[1]);
                                                       ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Crypto_encryptPref(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22893:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22915:34: error: variable or field '__wrap_delete_Crypto' declared void
 static void __wrap_delete_Crypto(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22915:34: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22915:56: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Crypto(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22915:62: error: expected primary-expression before 'const'
 static void __wrap_delete_Crypto(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                              ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Geo__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22957:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22963:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_double(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22963:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22964:36: error: 'Z_DVAL_PP' was not declared in this scope
   arg1 = (double) Z_DVAL_PP(args[0]);
                                    ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22969:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_double(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22969:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Geo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22988:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:22994:28: error: 'Z_TYPE_PP' was not declared in this scope
     _v = (Z_TYPE_PP(argv[0]) == IS_DOUBLE); 
                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Geo_latitude_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23015:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23027:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_double(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23027:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23028:36: error: 'Z_DVAL_PP' was not declared in this scope
   arg2 = (double) Z_DVAL_PP(args[1]);
                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Geo_latitude_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23045:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Geo_longitude_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23071:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23083:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_double(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:409:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_double_ex(pzv) convert_to_ex_master(pzv, double, IS_DOUBLE)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23083:3: note: in expansion of macro 'convert_to_double_ex'
   convert_to_double_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23084:36: error: 'Z_DVAL_PP' was not declared in this scope
   arg2 = (double) Z_DVAL_PP(args[1]);
                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Geo_longitude_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23101:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23123:31: error: variable or field '__wrap_delete_Geo' declared void
 static void __wrap_delete_Geo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23123:31: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23123:53: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Geo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23123:59: error: expected primary-expression before 'const'
 static void __wrap_delete_Geo(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Url__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23166:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23171:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23171:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23171:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23172:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23172:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23177:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23177:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23178:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Url__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23199:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23204:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23204:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23204:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23205:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23205:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Url(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23224:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23231:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23240:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Url_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23262:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Url_url(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23288:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23300:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23310:31: error: variable or field '__wrap_delete_Url' declared void
 static void __wrap_delete_Url(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23310:31: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23310:53: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Url(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23310:59: error: expected primary-expression before 'const'
 static void __wrap_delete_Url(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Key__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23353:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23358:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23358:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23358:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23359:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23359:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23364:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23364:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23365:49: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Key::KeyType) Z_LVAL_PP(args[1]);
                                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Key(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23384:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23391:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Key_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23413:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Key_key(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23439:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23451:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23461:31: error: variable or field '__wrap_delete_Key' declared void
 static void __wrap_delete_Key(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23461:31: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23461:53: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Key(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23461:59: error: expected primary-expression before 'const'
 static void __wrap_delete_Key(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23498:36: error: variable or field '__wrap_delete_DistList' declared void
 static void __wrap_delete_DistList(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23498:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23498:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_DistList(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23498:64: error: expected primary-expression before 'const'
 static void __wrap_delete_DistList(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_DistList__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23521:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_DistList(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23545:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23572:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23599:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23610:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23610:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23610:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23611:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23611:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23629:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23641:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23655:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23684:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_setName(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23712:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23723:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23724:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23724:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23742:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23754:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_setMembers(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23768:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_members(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23797:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23824:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_DistList_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23853:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23894:35: error: variable or field '__wrap_delete_Contact' declared void
 static void __wrap_delete_Contact(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23894:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23894:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Contact(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23894:63: error: expected primary-expression before 'const'
 static void __wrap_delete_Contact(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Contact__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23917:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Contact(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23941:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23968:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:23995:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24006:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24006:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24006:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24007:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24007:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24025:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24037:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24051:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24080:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24107:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24137:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24148:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24148:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24148:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24149:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24149:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24167:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setName(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24195:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24206:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24206:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24206:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24207:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24207:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24225:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24237:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setNameComponents(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24251:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_nameComponents(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24280:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setNote(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24308:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24320:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24320:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_note(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24338:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24350:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setFreeBusyUrl(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24365:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24376:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24376:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24376:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24377:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24377:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_freeBusyUrl(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24395:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24407:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setTitles(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24421:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_titles(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24450:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setAffiliations(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24477:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_affiliations(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24506:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setUrls(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24533:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_urls(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24562:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setAddresses__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24590:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24607:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24607:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24608:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (int) Z_LVAL_PP(args[2]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setAddresses__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24625:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setAddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24653:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24682:32: error: 'Z_TYPE_PP' was not declared in this scope
         _v = (Z_TYPE_PP(argv[2]) == IS_LONG); 
                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_addresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24702:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_addressPreferredIndex(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24729:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setNickNames(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24755:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_nickNames(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24784:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setRelateds(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24811:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_relateds(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24840:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setBDay(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24867:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_bDay(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24896:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setAnniversary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24923:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_anniversary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24952:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setPhoto(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24982:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24993:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24993:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24993:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24994:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24994:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24998:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24998:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:24998:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_photo(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25018:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25030:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_photoMimetype(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25044:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25056:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setGender(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25070:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25082:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25082:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25083:52: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Contact::Gender) Z_LVAL_PP(args[1]);
                                                    ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_gender(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25100:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setLanguages(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25126:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_languages(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25155:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setTelephones__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25183:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25200:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25200:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25201:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (int) Z_LVAL_PP(args[2]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setTelephones__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25218:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setTelephones(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25246:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25275:32: error: 'Z_TYPE_PP' was not declared in this scope
         _v = (Z_TYPE_PP(argv[2]) == IS_LONG); 
                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_telephones(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25295:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_telephonesPreferredIndex(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25322:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setIMaddresses__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25349:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25366:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25366:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25367:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (int) Z_LVAL_PP(args[2]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setIMaddresses__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25384:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setIMaddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25412:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25441:32: error: 'Z_TYPE_PP' was not declared in this scope
         _v = (Z_TYPE_PP(argv[2]) == IS_LONG); 
                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_imAddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25461:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_imAddressPreferredIndex(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25488:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setEmailAddresses__SWIG_0(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25515:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25532:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25532:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[2]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25533:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg3 = (int) Z_LVAL_PP(args[2]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setEmailAddresses__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25550:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setEmailAddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25578:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25607:32: error: 'Z_TYPE_PP' was not declared in this scope
         _v = (Z_TYPE_PP(argv[2]) == IS_LONG); 
                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_emailAddresses(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25627:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_emailAddressPreferredIndex(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25654:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setGPSpos(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25680:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_gpsPos(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25709:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setKeys(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25736:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_keys(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25765:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setCrypto(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25792:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_crypto(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25821:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25848:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Contact_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25877:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25918:32: error: variable or field '__wrap_delete_Note' declared void
 static void __wrap_delete_Note(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25918:32: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25918:54: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Note(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25918:60: error: expected primary-expression before 'const'
 static void __wrap_delete_Note(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Note__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25941:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Note(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25965:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:25992:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26019:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26030:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26030:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26030:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26031:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26031:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26049:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26061:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26075:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26104:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26131:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26160:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setClassification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26187:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26199:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26199:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26200:51: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Classification) Z_LVAL_PP(args[1]);
                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_classification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26217:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26243:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26273:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26284:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26284:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26284:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26285:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26285:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26303:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setSummary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26331:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26342:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26342:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26342:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26343:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26343:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_summary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26361:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26373:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setDescription(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26388:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26399:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26400:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26400:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_description(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26418:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26430:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setColor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26445:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26456:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26457:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26457:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_color(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26475:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26487:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setAttachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26501:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_attachments(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26530:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26557:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Note_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26586:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Dictionary__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26632:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26637:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26637:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26637:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26638:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26638:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Dictionary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26657:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26664:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Dictionary_language(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26683:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26695:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Dictionary_setEntries(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26709:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Dictionary_entries(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26738:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26761:38: error: variable or field '__wrap_delete_Dictionary' declared void
 static void __wrap_delete_Dictionary(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26761:38: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26761:60: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Dictionary(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26761:66: error: expected primary-expression before 'const'
 static void __wrap_delete_Dictionary(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_CategoryColor__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26803:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26808:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26808:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26808:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26809:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26809:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_CategoryColor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26828:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26835:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CategoryColor_category(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26854:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26866:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CategoryColor_setColor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26881:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26892:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26893:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26893:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CategoryColor_color(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26911:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26923:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CategoryColor_setSubcategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26937:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_CategoryColor_subcategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26966:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26989:41: error: variable or field '__wrap_delete_CategoryColor' declared void
 static void __wrap_delete_CategoryColor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26989:41: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26989:63: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_CategoryColor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:26989:69: error: expected primary-expression before 'const'
 static void __wrap_delete_CategoryColor(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Snippet__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27033:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27038:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27038:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27038:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27039:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27039:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27043:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27043:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27043:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Snippet(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27064:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27071:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27094:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27106:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_text(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27120:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27132:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_setTextType(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27146:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27158:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27158:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27159:54: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Snippet::TextType) Z_LVAL_PP(args[1]);
                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_textType(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27176:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_setShortCut(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27203:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27214:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27214:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27214:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27215:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27215:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Snippet_shortCut(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27233:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27245:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27255:35: error: variable or field '__wrap_delete_Snippet' declared void
 static void __wrap_delete_Snippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27255:35: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27255:57: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Snippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27255:63: error: expected primary-expression before 'const'
 static void __wrap_delete_Snippet(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_SnippetsCollection__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27297:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27302:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27303:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27303:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_SnippetsCollection(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27322:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27329:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_SnippetsCollection_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27348:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27360:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_SnippetsCollection_setSnippets(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27374:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_SnippetsCollection_snippets(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27403:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27426:46: error: variable or field '__wrap_delete_SnippetsCollection' declared void
 static void __wrap_delete_SnippetsCollection(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27426:46: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27426:68: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_SnippetsCollection(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27426:74: error: expected primary-expression before 'const'
 static void __wrap_delete_SnippetsCollection(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                          ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Relation__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27470:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27475:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27475:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27475:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27476:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27476:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27480:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27480:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27480:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Relation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27501:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27508:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_name(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27531:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27543:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27557:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27569:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_setColor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27584:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27595:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27595:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27595:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27596:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27596:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_color(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27614:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27626:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_setIconName(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27641:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27652:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27653:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27653:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_iconName(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27671:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27683:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_setParent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27698:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27709:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27709:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27709:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27710:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27710:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_parent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27728:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27740:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_setPriority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27754:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27766:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27766:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27767:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_priority(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27784:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_setMembers(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27810:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Relation_members(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27839:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27862:36: error: variable or field '__wrap_delete_Relation' declared void
 static void __wrap_delete_Relation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27862:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27862:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Relation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27862:64: error: expected primary-expression before 'const'
 static void __wrap_delete_Relation(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_FileDriver__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27906:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27911:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27911:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27911:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[0]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27912:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27912:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp1.assign(Z_STRVAL_PP(args[0]), Z_STRLEN_PP(args[0]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27916:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27916:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27916:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_FileDriver(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27937:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27944:29: error: 'Z_TYPE_PP' was not declared in this scope
     _v = ( Z_TYPE_PP(argv[0]) == IS_STRING ) ? 1 : 0;
                             ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setDriver(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27968:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27979:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27979:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27979:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27980:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27980:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_driver(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:27998:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28010:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setTitle(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28025:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28036:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28036:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28036:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28037:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28037:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_title(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28055:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28067:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setEnabled(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28081:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28093:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_boolean(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:407:36: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_boolean_ex(pzv) convert_to_ex_master(pzv, boolean, _IS_BOOL)
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28093:3: note: in expansion of macro 'convert_to_boolean_ex'
   convert_to_boolean_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28094:34: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (bool) Z_LVAL_PP(args[1]);
                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_enabled(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28111:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setHost(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28138:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28149:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28149:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28149:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28150:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28150:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_host(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28168:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28180:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setPort(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28194:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28206:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28206:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28207:33: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (int) Z_LVAL_PP(args[1]);
                                 ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_port(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28224:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setUsername(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28251:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28262:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28262:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28262:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28263:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28263:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_username(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28281:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28293:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_setPassword(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28308:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28319:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28320:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28320:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FileDriver_password(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28338:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28350:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28360:38: error: variable or field '__wrap_delete_FileDriver' declared void
 static void __wrap_delete_FileDriver(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28360:38: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28360:60: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_FileDriver(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28360:66: error: expected primary-expression before 'const'
 static void __wrap_delete_FileDriver(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                  ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28401:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_2(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28426:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_3(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28451:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_4(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28476:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_5(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28501:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration__SWIG_6(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28526:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Configuration(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28550:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28623:41: error: variable or field '__wrap_delete_Configuration' declared void
 static void __wrap_delete_Configuration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28623:41: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28623:63: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Configuration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28623:69: error: expected primary-expression before 'const'
 static void __wrap_delete_Configuration(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                     ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28646:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28673:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28684:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28684:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28684:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28685:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28685:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28703:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28715:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28729:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28758:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28785:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28814:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28841:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_categoryColor(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28867:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_dictionary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28894:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_snippets(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28921:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_relation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28948:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Configuration_fileDriver(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:28975:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29016:32: error: variable or field '__wrap_delete_File' declared void
 static void __wrap_delete_File(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29016:32: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29016:54: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_File(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29016:60: error: expected primary-expression before 'const'
 static void __wrap_delete_File(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                            ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_File__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29039:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_File(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29063:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29090:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29117:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29128:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29129:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29129:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29147:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29159:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setCreated(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29173:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_created(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29202:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setLastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29229:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_lastModified(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29258:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setClassification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29285:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29297:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29297:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29298:51: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::Classification) Z_LVAL_PP(args[1]);
                                                   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_classification(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29315:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setCategories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29341:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_addCategory(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29371:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29382:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29382:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29382:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29383:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29383:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_categories(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29401:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setNote(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29429:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29440:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29440:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29440:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29441:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29441:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_note(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29459:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29471:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setFile(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29485:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_file(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29514:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_setCustomProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29541:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_File_customProperties(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29570:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Period__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29616:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Period(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29645:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Period_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29678:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Period_start_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29704:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Period_start_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29733:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Period_end_set(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29759:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Period_end_get(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29788:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29810:34: error: variable or field '__wrap_delete_Period' declared void
 static void __wrap_delete_Period(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29810:34: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29810:56: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Period(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29810:62: error: expected primary-expression before 'const'
 static void __wrap_delete_Period(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29847:42: error: variable or field '__wrap_delete_FreebusyPeriod' declared void
 static void __wrap_delete_FreebusyPeriod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29847:42: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29847:64: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_FreebusyPeriod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29847:70: error: expected primary-expression before 'const'
 static void __wrap_delete_FreebusyPeriod(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                      ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_FreebusyPeriod__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29870:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_FreebusyPeriod(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29894:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29921:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_setType(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29947:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29959:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:369:30: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void convert_to_long(zval*)'
   convert_to_##lower_type(pzv);      \
                              ^
/usr/include/php/20151012/Zend/zend_operators.h:408:34: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_long_ex(pzv)  convert_to_ex_master(pzv, long, IS_LONG)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29959:3: note: in expansion of macro 'convert_to_long_ex'
   convert_to_long_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29960:59: error: 'Z_LVAL_PP' was not declared in this scope
   arg2 = (Kolab::FreebusyPeriod::FBType) Z_LVAL_PP(args[1]);
                                                           ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_type(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:29977:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_setEvent(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30008:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30019:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30019:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30019:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30020:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30020:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30024:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30024:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30024:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[2]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[3]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[3]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30029:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[3]);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_eventUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30050:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30062:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_eventSummary(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30076:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30088:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_eventLocation(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30102:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30114:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_setPeriods(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30128:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_FreebusyPeriod_periods(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30157:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: At global scope:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30198:36: error: variable or field '__wrap_delete_Freebusy' declared void
 static void __wrap_delete_Freebusy(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30198:36: error: 'zend_rsrc_list_entry' was not declared in this scope
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30198:58: error: 'rsrc' was not declared in this scope
 static void __wrap_delete_Freebusy(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30198:64: error: expected primary-expression before 'const'
 static void __wrap_delete_Freebusy(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
                                                                ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Freebusy__SWIG_1(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30221:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_new_Freebusy(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30245:3: note: in expansion of macro 'zend_get_parameters_array_ex'
   zend_get_parameters_array_ex(argc,argv);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_isValid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30272:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setUid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30299:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:368:6: note: in expansion of macro 'Z_TYPE_P'
  if (Z_TYPE_P(pzv)!=upper_type) {     \
      ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30310:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/usr/include/php/20151012/Zend/zend_types.h:336:46: error: cannot convert 'zval** {aka _zval_struct**}' to 'const zval* {aka const _zval_struct*}' for argument '1' to 'zend_uchar zval_get_type(const zval*)'
 #define Z_TYPE(zval)    zval_get_type(&(zval))
                                              ^
/usr/include/php/20151012/Zend/zend_types.h:337:28: note: in expansion of macro 'Z_TYPE'
 #define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
                            ^
/usr/include/php/20151012/Zend/zend_operators.h:274:35: note: in expansion of macro 'Z_TYPE_P'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                   ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30310:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/usr/include/php/20151012/Zend/zend_operators.h:274:105: error: cannot convert 'zval** {aka _zval_struct**}' to 'zval* {aka _zval_struct*}' for argument '1' to 'void _convert_to_string(zval*)'
 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
                                                                                                         ^
/usr/include/php/20151012/Zend/zend_operators.h:369:3: note: in expansion of macro 'convert_to_string'
   convert_to_##lower_type(pzv);      \
   ^
/usr/include/php/20151012/Zend/zend_operators.h:410:35: note: in expansion of macro 'convert_to_ex_master'
 #define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30310:3: note: in expansion of macro 'convert_to_string_ex'
   convert_to_string_ex(args[1]);
   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30311:35: error: 'Z_STRVAL_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30311:57: error: 'Z_STRLEN_PP' was not declared in this scope
   temp2.assign(Z_STRVAL_PP(args[1]), Z_STRLEN_PP(args[1]));
                                                         ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_uid(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30329:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30341:3: error: 'ZVAL_STRINGL' was not declared in this scope
   ZVAL_STRINGL(return_value, const_cast<char*>((&result)->data()), (&result)->size(), 1);
   ^
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:744:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setTimestamp(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30355:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_timestamp(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30384:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setStart(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30411:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_start(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30440:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setEnd(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30467:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_end(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30496:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setOrganizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30523:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_organizer(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30552:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_setPeriods(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30579:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_Freebusy_periods(zend_execute_data*, zval*)':
/usr/include/php/20151012/Zend/zend_API.h:258:59: error: cannot convert 'zval*** {aka _zval_struct***}' to 'zval* {aka _zval_struct*}' for argument '2' to 'int _zend_get_parameters_array_ex(int, zval*)'
  _zend_get_parameters_array_ex(param_count, argument_array)
                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30608:30: note: in expansion of macro 'zend_get_parameters_array_ex'
   if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Snippet_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30630:31: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorsnippet(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Snippet_t->name TSRMLS_CC);
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30630:93: error: '__wrap_delete_vectorsnippet' was not declared in this scope
   __wrap_delete_vectorsnippet(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Snippet_t->name TSRMLS_CC);
                                                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Snippet(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30633:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_Snippet(rsrc, SWIGTYPE_p_Kolab__Snippet->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30633:72: error: '__wrap_delete_Snippet' was not declared in this scope
   __wrap_delete_Snippet(rsrc, SWIGTYPE_p_Kolab__Snippet->name TSRMLS_CC);
                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Address(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30636:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_Address(rsrc, SWIGTYPE_p_Kolab__Address->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30636:72: error: '__wrap_delete_Address' was not declared in this scope
   __wrap_delete_Address(rsrc, SWIGTYPE_p_Kolab__Address->name TSRMLS_CC);
                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Event_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30639:29: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorevent(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Event_t->name TSRMLS_CC);
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30639:89: error: '__wrap_delete_vectorevent' was not declared in this scope
   __wrap_delete_vectorevent(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Event_t->name TSRMLS_CC);
                                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Email(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30642:23: error: 'rsrc' was not declared in this scope
   __wrap_delete_Email(rsrc, SWIGTYPE_p_Kolab__Email->name TSRMLS_CC);
                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30642:68: error: '__wrap_delete_Email' was not declared in this scope
   __wrap_delete_Email(rsrc, SWIGTYPE_p_Kolab__Email->name TSRMLS_CC);
                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Note(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30645:22: error: 'rsrc' was not declared in this scope
   __wrap_delete_Note(rsrc, SWIGTYPE_p_Kolab__Note->name TSRMLS_CC);
                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30645:66: error: '__wrap_delete_Note' was not declared in this scope
   __wrap_delete_Note(rsrc, SWIGTYPE_p_Kolab__Note->name TSRMLS_CC);
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Relation(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30648:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_Relation(rsrc, SWIGTYPE_p_Kolab__Relation->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30648:74: error: '__wrap_delete_Relation' was not declared in this scope
   __wrap_delete_Relation(rsrc, SWIGTYPE_p_Kolab__Relation->name TSRMLS_CC);
                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__cDateTime(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30651:27: error: 'rsrc' was not declared in this scope
   __wrap_delete_cDateTime(rsrc, SWIGTYPE_p_Kolab__cDateTime->name TSRMLS_CC);
                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30651:76: error: '__wrap_delete_cDateTime' was not declared in this scope
   __wrap_delete_cDateTime(rsrc, SWIGTYPE_p_Kolab__cDateTime->name TSRMLS_CC);
                                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Related(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30654:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_Related(rsrc, SWIGTYPE_p_Kolab__Related->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30654:72: error: '__wrap_delete_Related' was not declared in this scope
   __wrap_delete_Related(rsrc, SWIGTYPE_p_Kolab__Related->name TSRMLS_CC);
                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__cDateTime_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30657:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectordatetime(rsrc, SWIGTYPE_p_std__vectorT_Kolab__cDateTime_t->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30657:96: error: '__wrap_delete_vectordatetime' was not declared in this scope
   __wrap_delete_vectordatetime(rsrc, SWIGTYPE_p_std__vectorT_Kolab__cDateTime_t->name TSRMLS_CC);
                                                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__NameComponents(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30660:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_NameComponents(rsrc, SWIGTYPE_p_Kolab__NameComponents->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30660:86: error: '__wrap_delete_NameComponents' was not declared in this scope
   __wrap_delete_NameComponents(rsrc, SWIGTYPE_p_Kolab__NameComponents->name TSRMLS_CC);
                                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Attendee_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30663:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorattendee(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Attendee_t->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30663:95: error: '__wrap_delete_vectorattendee' was not declared in this scope
   __wrap_delete_vectorattendee(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Attendee_t->name TSRMLS_CC);
                                                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Email_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30666:29: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectoremail(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Email_t->name TSRMLS_CC);
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30666:89: error: '__wrap_delete_vectoremail' was not declared in this scope
   __wrap_delete_vectoremail(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Email_t->name TSRMLS_CC);
                                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Affiliation_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30669:35: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectoraffiliation(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Affiliation_t->name TSRMLS_CC);
                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30669:101: error: '__wrap_delete_vectoraffiliation' was not declared in this scope
   __wrap_delete_vectoraffiliation(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Affiliation_t->name TSRMLS_CC);
                                                                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__File(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30672:22: error: 'rsrc' was not declared in this scope
   __wrap_delete_File(rsrc, SWIGTYPE_p_Kolab__File->name TSRMLS_CC);
                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30672:66: error: '__wrap_delete_File' was not declared in this scope
   __wrap_delete_File(rsrc, SWIGTYPE_p_Kolab__File->name TSRMLS_CC);
                                                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__ContactReference(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30675:34: error: 'rsrc' was not declared in this scope
   __wrap_delete_ContactReference(rsrc, SWIGTYPE_p_Kolab__ContactReference->name TSRMLS_CC);
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30675:90: error: '__wrap_delete_ContactReference' was not declared in this scope
   __wrap_delete_ContactReference(rsrc, SWIGTYPE_p_Kolab__ContactReference->name TSRMLS_CC);
                                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Key(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30678:21: error: 'rsrc' was not declared in this scope
   __wrap_delete_Key(rsrc, SWIGTYPE_p_Kolab__Key->name TSRMLS_CC);
                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30678:64: error: '__wrap_delete_Key' was not declared in this scope
   __wrap_delete_Key(rsrc, SWIGTYPE_p_Kolab__Key->name TSRMLS_CC);
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__RecurrenceRule(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30681:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_RecurrenceRule(rsrc, SWIGTYPE_p_Kolab__RecurrenceRule->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30681:86: error: '__wrap_delete_RecurrenceRule' was not declared in this scope
   __wrap_delete_RecurrenceRule(rsrc, SWIGTYPE_p_Kolab__RecurrenceRule->name TSRMLS_CC);
                                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__ContactReference_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30684:34: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorcontactref(rsrc, SWIGTYPE_p_std__vectorT_Kolab__ContactReference_t->name TSRMLS_CC);
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30684:105: error: '__wrap_delete_vectorcontactref' was not declared in this scope
   __wrap_delete_vectorcontactref(rsrc, SWIGTYPE_p_std__vectorT_Kolab__ContactReference_t->name TSRMLS_CC);
                                                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Todo(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30687:22: error: 'rsrc' was not declared in this scope
   __wrap_delete_Todo(rsrc, SWIGTYPE_p_Kolab__Todo->name TSRMLS_CC);
                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30687:66: error: '__wrap_delete_Todo' was not declared in this scope
   __wrap_delete_Todo(rsrc, SWIGTYPE_p_Kolab__Todo->name TSRMLS_CC);
                                                                  ^
In file included from /usr/include/php/20151012/Zend/zend.h:33:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_size_type(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30691:9: error: 'rsrc' was not declared in this scope
   efree(rsrc->ptr);
         ^
/usr/include/php/20151012/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)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Geo(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30694:21: error: 'rsrc' was not declared in this scope
   __wrap_delete_Geo(rsrc, SWIGTYPE_p_Kolab__Geo->name TSRMLS_CC);
                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30694:64: error: '__wrap_delete_Geo' was not declared in this scope
   __wrap_delete_Geo(rsrc, SWIGTYPE_p_Kolab__Geo->name TSRMLS_CC);
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Key_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30697:27: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorkey(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Key_t->name TSRMLS_CC);
                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30697:85: error: '__wrap_delete_vectorkey' was not declared in this scope
   __wrap_delete_vectorkey(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Key_t->name TSRMLS_CC);
                                                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Attendee(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30700:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_Attendee(rsrc, SWIGTYPE_p_Kolab__Attendee->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30700:74: error: '__wrap_delete_Attendee' was not declared in this scope
   __wrap_delete_Attendee(rsrc, SWIGTYPE_p_Kolab__Attendee->name TSRMLS_CC);
                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__FreebusyPeriod_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30703:38: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorfreebusyperiod(rsrc, SWIGTYPE_p_std__vectorT_Kolab__FreebusyPeriod_t->name TSRMLS_CC);
                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30703:107: error: '__wrap_delete_vectorfreebusyperiod' was not declared in this scope
   __wrap_delete_vectorfreebusyperiod(rsrc, SWIGTYPE_p_std__vectorT_Kolab__FreebusyPeriod_t->name TSRMLS_CC);
                                                                                                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Period_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30706:30: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorperiod(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Period_t->name TSRMLS_CC);
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30706:91: error: '__wrap_delete_vectorperiod' was not declared in this scope
   __wrap_delete_vectorperiod(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Period_t->name TSRMLS_CC);
                                                                                           ^
In file included from /usr/include/php/20151012/Zend/zend.h:33:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_int(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30710:9: error: 'rsrc' was not declared in this scope
   efree(rsrc->ptr);
         ^
/usr/include/php/20151012/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)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Configuration(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30713:31: error: 'rsrc' was not declared in this scope
   __wrap_delete_Configuration(rsrc, SWIGTYPE_p_Kolab__Configuration->name TSRMLS_CC);
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30713:84: error: '__wrap_delete_Configuration' was not declared in this scope
   __wrap_delete_Configuration(rsrc, SWIGTYPE_p_Kolab__Configuration->name TSRMLS_CC);
                                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Duration(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30716:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_Duration(rsrc, SWIGTYPE_p_Kolab__Duration->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30716:74: error: '__wrap_delete_Duration' was not declared in this scope
   __wrap_delete_Duration(rsrc, SWIGTYPE_p_Kolab__Duration->name TSRMLS_CC);
                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__SnippetsCollection(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30719:36: error: 'rsrc' was not declared in this scope
   __wrap_delete_SnippetsCollection(rsrc, SWIGTYPE_p_Kolab__SnippetsCollection->name TSRMLS_CC);
                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30719:94: error: '__wrap_delete_SnippetsCollection' was not declared in this scope
   __wrap_delete_SnippetsCollection(rsrc, SWIGTYPE_p_Kolab__SnippetsCollection->name TSRMLS_CC);
                                                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__DayPos(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30722:24: error: 'rsrc' was not declared in this scope
   __wrap_delete_DayPos(rsrc, SWIGTYPE_p_Kolab__DayPos->name TSRMLS_CC);
                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30722:70: error: '__wrap_delete_DayPos' was not declared in this scope
   __wrap_delete_DayPos(rsrc, SWIGTYPE_p_Kolab__DayPos->name TSRMLS_CC);
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Telephone(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30725:27: error: 'rsrc' was not declared in this scope
   __wrap_delete_Telephone(rsrc, SWIGTYPE_p_Kolab__Telephone->name TSRMLS_CC);
                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30725:76: error: '__wrap_delete_Telephone' was not declared in this scope
   __wrap_delete_Telephone(rsrc, SWIGTYPE_p_Kolab__Telephone->name TSRMLS_CC);
                                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Url_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30728:27: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorurl(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Url_t->name TSRMLS_CC);
                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30728:85: error: '__wrap_delete_vectorurl' was not declared in this scope
   __wrap_delete_vectorurl(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Url_t->name TSRMLS_CC);
                                                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_int_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30731:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectori(rsrc, SWIGTYPE_p_std__vectorT_int_t->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30731:76: error: '__wrap_delete_vectori' was not declared in this scope
   __wrap_delete_vectori(rsrc, SWIGTYPE_p_std__vectorT_int_t->name TSRMLS_CC);
                                                                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Attachment_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30734:34: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorattachment(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Attachment_t->name TSRMLS_CC);
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30734:99: error: '__wrap_delete_vectorattachment' was not declared in this scope
   __wrap_delete_vectorattachment(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Attachment_t->name TSRMLS_CC);
                                                                                                   ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__DistList(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30737:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_DistList(rsrc, SWIGTYPE_p_Kolab__DistList->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30737:74: error: '__wrap_delete_DistList' was not declared in this scope
   __wrap_delete_DistList(rsrc, SWIGTYPE_p_Kolab__DistList->name TSRMLS_CC);
                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Telephone_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30740:33: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectortelephone(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Telephone_t->name TSRMLS_CC);
                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30740:97: error: '__wrap_delete_vectortelephone' was not declared in this scope
   __wrap_delete_vectortelephone(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Telephone_t->name TSRMLS_CC);
                                                                                                 ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__FreebusyPeriod(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30743:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_FreebusyPeriod(rsrc, SWIGTYPE_p_Kolab__FreebusyPeriod->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30743:86: error: '__wrap_delete_FreebusyPeriod' was not declared in this scope
   __wrap_delete_FreebusyPeriod(rsrc, SWIGTYPE_p_Kolab__FreebusyPeriod->name TSRMLS_CC);
                                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Period(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30746:24: error: 'rsrc' was not declared in this scope
   __wrap_delete_Period(rsrc, SWIGTYPE_p_Kolab__Period->name TSRMLS_CC);
                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30746:70: error: '__wrap_delete_Period' was not declared in this scope
   __wrap_delete_Period(rsrc, SWIGTYPE_p_Kolab__Period->name TSRMLS_CC);
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Todo_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30749:28: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectortodo(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Todo_t->name TSRMLS_CC);
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30749:87: error: '__wrap_delete_vectortodo' was not declared in this scope
   __wrap_delete_vectortodo(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Todo_t->name TSRMLS_CC);
                                                                                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__FileDriver(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30752:28: error: 'rsrc' was not declared in this scope
   __wrap_delete_FileDriver(rsrc, SWIGTYPE_p_Kolab__FileDriver->name TSRMLS_CC);
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30752:78: error: '__wrap_delete_FileDriver' was not declared in this scope
   __wrap_delete_FileDriver(rsrc, SWIGTYPE_p_Kolab__FileDriver->name TSRMLS_CC);
                                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Address_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30755:31: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectoraddress(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Address_t->name TSRMLS_CC);
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30755:93: error: '__wrap_delete_vectoraddress' was not declared in this scope
   __wrap_delete_vectoraddress(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Address_t->name TSRMLS_CC);
                                                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__CategoryColor(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30758:31: error: 'rsrc' was not declared in this scope
   __wrap_delete_CategoryColor(rsrc, SWIGTYPE_p_Kolab__CategoryColor->name TSRMLS_CC);
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30758:84: error: '__wrap_delete_CategoryColor' was not declared in this scope
   __wrap_delete_CategoryColor(rsrc, SWIGTYPE_p_Kolab__CategoryColor->name TSRMLS_CC);
                                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Contact(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30761:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_Contact(rsrc, SWIGTYPE_p_Kolab__Contact->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30761:72: error: '__wrap_delete_Contact' was not declared in this scope
   __wrap_delete_Contact(rsrc, SWIGTYPE_p_Kolab__Contact->name TSRMLS_CC);
                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Attachment(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30764:28: error: 'rsrc' was not declared in this scope
   __wrap_delete_Attachment(rsrc, SWIGTYPE_p_Kolab__Attachment->name TSRMLS_CC);
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30764:78: error: '__wrap_delete_Attachment' was not declared in this scope
   __wrap_delete_Attachment(rsrc, SWIGTYPE_p_Kolab__Attachment->name TSRMLS_CC);
                                                                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Alarm(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30767:23: error: 'rsrc' was not declared in this scope
   __wrap_delete_Alarm(rsrc, SWIGTYPE_p_Kolab__Alarm->name TSRMLS_CC);
                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30767:68: error: '__wrap_delete_Alarm' was not declared in this scope
   __wrap_delete_Alarm(rsrc, SWIGTYPE_p_Kolab__Alarm->name TSRMLS_CC);
                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__CustomProperty(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30770:32: error: 'rsrc' was not declared in this scope
   __wrap_delete_CustomProperty(rsrc, SWIGTYPE_p_Kolab__CustomProperty->name TSRMLS_CC);
                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30770:86: error: '__wrap_delete_CustomProperty' was not declared in this scope
   __wrap_delete_CustomProperty(rsrc, SWIGTYPE_p_Kolab__CustomProperty->name TSRMLS_CC);
                                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Affiliation(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30773:29: error: 'rsrc' was not declared in this scope
   __wrap_delete_Affiliation(rsrc, SWIGTYPE_p_Kolab__Affiliation->name TSRMLS_CC);
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30773:80: error: '__wrap_delete_Affiliation' was not declared in this scope
   __wrap_delete_Affiliation(rsrc, SWIGTYPE_p_Kolab__Affiliation->name TSRMLS_CC);
                                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__CategoryColor_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30776:37: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorcategorycolor(rsrc, SWIGTYPE_p_std__vectorT_Kolab__CategoryColor_t->name TSRMLS_CC);
                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30776:105: error: '__wrap_delete_vectorcategorycolor' was not declared in this scope
   __wrap_delete_vectorcategorycolor(rsrc, SWIGTYPE_p_std__vectorT_Kolab__CategoryColor_t->name TSRMLS_CC);
                                                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Journal(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30779:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_Journal(rsrc, SWIGTYPE_p_Kolab__Journal->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30779:72: error: '__wrap_delete_Journal' was not declared in this scope
   __wrap_delete_Journal(rsrc, SWIGTYPE_p_Kolab__Journal->name TSRMLS_CC);
                                                                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Freebusy(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30782:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_Freebusy(rsrc, SWIGTYPE_p_Kolab__Freebusy->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30782:74: error: '__wrap_delete_Freebusy' was not declared in this scope
   __wrap_delete_Freebusy(rsrc, SWIGTYPE_p_Kolab__Freebusy->name TSRMLS_CC);
                                                                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Alarm_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30785:29: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectoralarm(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Alarm_t->name TSRMLS_CC);
                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30785:89: error: '__wrap_delete_vectoralarm' was not declared in this scope
   __wrap_delete_vectoralarm(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Alarm_t->name TSRMLS_CC);
                                                                                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Url(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30788:21: error: 'rsrc' was not declared in this scope
   __wrap_delete_Url(rsrc, SWIGTYPE_p_Kolab__Url->name TSRMLS_CC);
                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30788:64: error: '__wrap_delete_Url' was not declared in this scope
   __wrap_delete_Url(rsrc, SWIGTYPE_p_Kolab__Url->name TSRMLS_CC);
                                                                ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Crypto(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30791:24: error: 'rsrc' was not declared in this scope
   __wrap_delete_Crypto(rsrc, SWIGTYPE_p_Kolab__Crypto->name TSRMLS_CC);
                        ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30791:70: error: '__wrap_delete_Crypto' was not declared in this scope
   __wrap_delete_Crypto(rsrc, SWIGTYPE_p_Kolab__Crypto->name TSRMLS_CC);
                                                                      ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__CustomProperty_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30794:26: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorcs(rsrc, SWIGTYPE_p_std__vectorT_Kolab__CustomProperty_t->name TSRMLS_CC);
                          ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30794:95: error: '__wrap_delete_vectorcs' was not declared in this scope
   __wrap_delete_vectorcs(rsrc, SWIGTYPE_p_std__vectorT_Kolab__CustomProperty_t->name TSRMLS_CC);
                                                                                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Event(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30797:23: error: 'rsrc' was not declared in this scope
   __wrap_delete_Event(rsrc, SWIGTYPE_p_Kolab__Event->name TSRMLS_CC);
                       ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30797:68: error: '__wrap_delete_Event' was not declared in this scope
   __wrap_delete_Event(rsrc, SWIGTYPE_p_Kolab__Event->name TSRMLS_CC);
                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Geo_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30800:27: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorgeo(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Geo_t->name TSRMLS_CC);
                           ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30800:85: error: '__wrap_delete_vectorgeo' was not declared in this scope
   __wrap_delete_vectorgeo(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Geo_t->name TSRMLS_CC);
                                                                                     ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__DayPos_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30803:30: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectordaypos(rsrc, SWIGTYPE_p_std__vectorT_Kolab__DayPos_t->name TSRMLS_CC);
                              ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30803:91: error: '__wrap_delete_vectordaypos' was not declared in this scope
   __wrap_delete_vectordaypos(rsrc, SWIGTYPE_p_std__vectorT_Kolab__DayPos_t->name TSRMLS_CC);
                                                                                           ^
In file included from /usr/include/php/20151012/Zend/zend.h:33:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:743:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_value_type(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30807:9: error: 'rsrc' was not declared in this scope
   efree(rsrc->ptr);
         ^
/usr/include/php/20151012/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)
                                  ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_std__string_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30810:25: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectors(rsrc, SWIGTYPE_p_std__vectorT_std__string_t->name TSRMLS_CC);
                         ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30810:84: error: '__wrap_delete_vectors' was not declared in this scope
   __wrap_delete_vectors(rsrc, SWIGTYPE_p_std__vectorT_std__string_t->name TSRMLS_CC);
                                                                                    ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_std__vectorT_Kolab__Related_t(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30813:31: error: 'rsrc' was not declared in this scope
   __wrap_delete_vectorrelated(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Related_t->name TSRMLS_CC);
                               ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30813:93: error: '__wrap_delete_vectorrelated' was not declared in this scope
   __wrap_delete_vectorrelated(rsrc, SWIGTYPE_p_std__vectorT_Kolab__Related_t->name TSRMLS_CC);
                                                                                             ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp: In function 'void _wrap_destroy_p_Kolab__Dictionary(zend_resource*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30816:28: error: 'rsrc' was not declared in this scope
   __wrap_delete_Dictionary(rsrc, SWIGTYPE_p_Kolab__Dictionary->name TSRMLS_CC);
                            ^
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/php/php_kolabformat_wrapper.cpp:30816:78: error: '__wrap_delete_Dictionary' was not declared in this scope
   __wrap_delete_Dictionary(rsrc, SWIGTYPE_p_Kolab__Dictionary->name TSRMLS_CC);
                                                                              ^
src/php/CMakeFiles/phpbindings.dir/build.make:76: recipe for target 'src/php/CMakeFiles/phpbindings.dir/php_kolabformat_wrapper.cpp.o' failed
make[4]: *** [src/php/CMakeFiles/phpbindings.dir/php_kolabformat_wrapper.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:380: recipe for target 'src/php/CMakeFiles/phpbindings.dir/all' failed
make[3]: *** [src/php/CMakeFiles/phpbindings.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 66%] Linking CXX shared module _kolabformat.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/kolabformat.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fpermissive -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -Wno-maybe-uninitialized  -Wl,-z,relro -Wl,--as-needed -shared  -o _kolabformat.so CMakeFiles/kolabformat.dir/python_kolabformat_wrapper.cpp.o ../libkolabxml.so.1.1.2 -lpython2.7 -lxerces-c -lboost_thread -lboost_system -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lcurl -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src: 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 66%] Built target kolabformat
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j2 returned exit code 2
debian/rules:40: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20160429-1332

Finished
--------

E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build-Space: 347780
Build-Time: 649
Distribution: test2-amd64
Fail-Stage: build
Host Architecture: amd64
Install-Time: 162
Job: /home/hefee/debian/pkg-kolab/libkolabxml_1.1.2-2~.dsc
Machine Architecture: amd64
Package: libkolabxml
Package-Time: 822
Source-Version: 1.1.2-2~
Space: 347780
Status: attempted
Version: 1.1.2-2~
--------------------------------------------------------------------------------
Finished at 20160429-1332
Build needed 00:13:42, 347780k disc space
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/attachments/20160429/9ef50a0b/attachment-0001.sig>


More information about the pkg-kolab-devel mailing list