php-ext.com / dbus (from dev using PHP 8.0.5-buster)

Dockerfile
FROM php:8.0.5-buster
WORKDIR /tmp
RUN apt update && \
    apt install -y --no-install-recommends git subversion autoconf build-essential && \
    apt install -y --no-install-recommends libdbus-1-dev libxml2-dev && \
    rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/derickr/pecl-dbus /tmp/ext-src && \
    cd /tmp/ext-src && \
    phpize && \
    ./configure --enable-dbus && \
    make && \
    make test
Build output FAIL 13ss
Step 1/4 : FROM php:8.0.5-buster
---> 9d3d64fb1730
Step 2/4 : WORKDIR /tmp
---> Running in fcd4ef0c6093
Removing intermediate container fcd4ef0c6093
---> bcf559958bee
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libdbus-1-dev libxml2-dev && rm -rf /var/lib/apt/lists/*
---> Running in 46a6794ac9c7

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [285 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB]
Fetched 8441 kB in 1s (5688 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.


WARNING: 
apt
 
does not have a stable CLI interface. 
Use with caution in scripts.




Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-11).
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
git-man libapr1 libaprutil1 libcurl3-gnutls liberror-perl libexpat1
libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-cvs git-mediawiki git-svn db5.3-util
libapache2-mod-svn subversion-tools
Recommended packages:
less ssh-client
The following NEW packages will be installed:
build-essential git git-man libapr1 libaprutil1 libcurl3-gnutls
liberror-perl libexpat1 libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
subversion
0 upgraded, 13 newly installed, 0 to remove and 2 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 50.2 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u2 [330 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:3 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 10.7 MB in 0s (82.9 MB/s)
Selecting previously unselected package build-essential.
(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 ...
12690 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../01-libcurl3-gnutls_7.64.0-4+deb10u2_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../02-libexpat1_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../03-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../04-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../05-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../06-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../07-libapr1_1.6.5-1+b1_amd64.deb ...
Unpacking libapr1:amd64 (1.6.5-1+b1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../08-libaprutil1_1.6.1-4_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.1-4) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../09-libserf-1-1_1.3.9-7+b10_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-7+b10) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../10-libutf8proc2_2.3.0-1_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.3.0-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../11-libsvn1_1.10.4-1+deb10u2_amd64.deb ...
Unpacking libsvn1:amd64 (1.10.4-1+deb10u2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../12-subversion_1.10.4-1+deb10u2_amd64.deb ...
Unpacking subversion (1.10.4-1+deb10u2) ...
Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...
Setting up libutf8proc2:amd64 (2.3.0-1) ...
Setting up libapr1:amd64 (1.6.5-1+b1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Setting up liberror-perl (0.17027-2) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up build-essential (12.6) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libaprutil1:amd64 (1.6.1-4) ...
Setting up libserf-1-1:amd64 (1.3.9-7+b10) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libsvn1:amd64 (1.10.4-1+deb10u2) ...
Setting up subversion (1.10.4-1+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...


WARNING: 
apt
 
does not have a stable CLI interface. 
Use with caution in scripts.




Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
icu-devtools libdbus-1-3 libicu-dev
Suggested packages:
icu-doc
Recommended packages:
dbus
The following NEW packages will be installed:
icu-devtools libdbus-1-3 libdbus-1-dev libicu-dev libxml2-dev
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 10.6 MB of archives.
After this operation, 48.4 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 icu-devtools amd64 63.1-6+deb10u1 [189 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libdbus-1-3 amd64 1.12.20-0+deb10u1 [215 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libdbus-1-dev amd64 1.12.20-0+deb10u1 [251 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libicu-dev amd64 63.1-6+deb10u1 [9186 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libxml2-dev amd64 2.9.4+dfsg1-7+deb10u1 [784 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 10.6 MB in 0s (76.7 MB/s)
Selecting previously unselected package icu-devtools.
(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 ...
13812 files and directories currently installed.)
Preparing to unpack .../icu-devtools_63.1-6+deb10u1_amd64.deb ...
Unpacking icu-devtools (63.1-6+deb10u1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../libdbus-1-3_1.12.20-0+deb10u1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.20-0+deb10u1) ...
Selecting previously unselected package libdbus-1-dev:amd64.
Preparing to unpack .../libdbus-1-dev_1.12.20-0+deb10u1_amd64.deb ...
Unpacking libdbus-1-dev:amd64 (1.12.20-0+deb10u1) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../libicu-dev_63.1-6+deb10u1_amd64.deb ...
Unpacking libicu-dev:amd64 (63.1-6+deb10u1) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../libxml2-dev_2.9.4+dfsg1-7+deb10u1_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-7+deb10u1) ...
Setting up libdbus-1-3:amd64 (1.12.20-0+deb10u1) ...
Setting up icu-devtools (63.1-6+deb10u1) ...
Setting up libicu-dev:amd64 (63.1-6+deb10u1) ...
Setting up libxml2-dev:amd64 (2.9.4+dfsg1-7+deb10u1) ...
Setting up libdbus-1-dev:amd64 (1.12.20-0+deb10u1) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 46a6794ac9c7
---> dc405d1d72ec
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/derickr/pecl-dbus /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --enable-dbus && make && make test
---> Running in f9c658a78abf
Cloning into '/tmp/ext-src'...

Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep...
/bin/grep -E
checking for a sed that does not truncate output...
/bin/sed
checking for pkg-config...
/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0...
yes
checking for cc...
cc
checking whether the C compiler works...
yes
checking for C compiler default output file name...
a.out
checking for suffix of executables...
checking whether we are cross compiling...
no
checking for suffix of object files...
o
checking whether we are using the GNU C compiler...
yes
checking whether cc accepts -g...
yes
checking for cc option to accept ISO C89...
none needed
checking how to run the C preprocessor...
cc -E
checking for icc...
no
checking for suncc...
no
checking for system library directory...
lib
checking if compiler supports -R...
no
checking if compiler supports -Wl,-rpath,...
yes
checking build system type...
x86_64-pc-linux-gnu
checking host system type...
x86_64-pc-linux-gnu
checking target system type...
x86_64-pc-linux-gnu
checking for PHP prefix...
/usr/local
checking for PHP includes...
-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory...
/usr/local/lib/php/extensions/no-debug-non-zts-20200930
checking for PHP installed headers prefix...
/usr/local/include/php
checking if debug is enabled...
no
checking if zts is enabled...
no
checking for gawk...
no
checking for nawk...
nawk
checking if nawk is broken...
no
checking whether to enable dbus functions...
yes, shared
checking libxml2 install dir...
no
checking for pkg-config...
found
checking for dbus...
found
checking for libxml-2.0 >= 2.9.0...
yes
checking for a sed that does not truncate output...
/bin/sed
checking for ld used by cc...
/usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld...
yes
checking for /usr/bin/ld option to reload object files...
-r
checking for BSD-compatible nm...
/usr/bin/nm -B
checking whether ln -s works...
yes
checking how to recognize dependent libraries...
pass_all
checking for ANSI C header files...
yes
checking for sys/types.h...
yes
checking for sys/stat.h...
yes
checking for stdlib.h...
yes
checking for string.h...
yes
checking for memory.h...
yes
checking for strings.h...
yes
checking for inttypes.h...
yes
checking for stdint.h...
yes
checking for unistd.h...
yes
checking dlfcn.h usability...
yes
checking dlfcn.h presence...
yes
checking for dlfcn.h...
yes
checking the maximum length of command line arguments...
1572864
checking command to parse /usr/bin/nm -B output from cc object...
ok
checking for objdir...
.libs
checking for ar...
ar
checking for ranlib...
ranlib
checking for strip...
strip
checking if cc supports -fno-rtti -fno-exceptions...
no
checking for cc option to produce PIC...
-fPIC
checking if cc PIC flag -fPIC works...
yes
checking if cc static flag -static works...
yes
checking if cc supports -c -o file.o...
yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries...
yes
checking whether -lc should be explicitly linked in...
no
checking dynamic linker characteristics...
GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible...
yes
checking if libtool supports shared libraries...
yes
checking whether to build shared libraries...
yes
checking whether to build static libraries...
no
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include    -c /tmp/ext-src/dbus.c -o dbus.lo
mkdir .libs
cc -I. -I/tmp/ext-src -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -c /tmp/ext-src/dbus.c  -fPIC -DPIC -o .libs/dbus.o
/tmp/ext-src/dbus.c:127:1: warning: parameter names (without types) in function declaration
 static void dbus_register_classes(TSRMLS_D);
 ^~~~~~

/tmp/ext-src/dbus.c:128:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zval * dbus_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC);
                                                                    ^~~~~~~~~

/tmp/ext-src/dbus.c:129:89: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_handle_reply(zval *return_value, DBusMessage *msg, int always_array TSRMLS_DC);
                                                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:130:94: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_append_parameters(DBusMessage *msg, zval *data, xmlNode *inXml, int type TSRMLS_DC);
                                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:131:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_fetch_child_type(zval *child TSRMLS_DC);
                                                  ^~~~~~~~~

/tmp/ext-src/dbus.c:145:111: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline void dbus_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC)
                                                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:247:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus(void *object TSRMLS_DC);
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c:248:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_object(void *object TSRMLS_DC);
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:249:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_signal(void *object TSRMLS_DC);
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:250:62: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_array(void *object TSRMLS_DC);
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:251:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_dict(void *object TSRMLS_DC);
                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:252:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_variant(void *object TSRMLS_DC);
                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:253:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_set(void *object TSRMLS_DC);
                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:254:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_struct(void *object TSRMLS_DC);
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:255:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_object_path(void *object TSRMLS_DC);
                                                                    ^~~~~~~~~

/tmp/ext-src/dbus.c:257:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus(zend_class_entry *class_type TSRMLS_DC);
                                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:258:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_object(zend_class_entry *class_type TSRMLS_DC);
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:259:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_signal(zend_class_entry *class_type TSRMLS_DC);
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:260:77: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_array(zend_class_entry *class_type TSRMLS_DC);
                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:261:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_dict(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:262:79: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_variant(zend_class_entry *class_type TSRMLS_DC);
                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:263:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_set(zend_class_entry *class_type TSRMLS_DC);
                                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:264:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_struct(zend_class_entry *class_type TSRMLS_DC);
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:265:83: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_object_path(zend_class_entry *class_type TSRMLS_DC);
                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:267:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_byte_get_properties(zval *object TSRMLS_DC);
                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:268:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_bool_get_properties(zval *object TSRMLS_DC);
                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:269:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_int16_get_properties(zval *object TSRMLS_DC);
                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:270:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_uint16_get_properties(zval *object TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:271:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_int32_get_properties(zval *object TSRMLS_DC);
                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:272:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_uint32_get_properties(zval *object TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:273:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_int64_get_properties(zval *object TSRMLS_DC);
                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:274:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_uint64_get_properties(zval *object TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:275:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_double_get_properties(zval *object TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:277:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_array_get_properties(zval *object TSRMLS_DC);
                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:278:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_dict_get_properties(zval *object TSRMLS_DC);
                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:279:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_variant_get_properties(zval *object TSRMLS_DC);
                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:280:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_set_get_properties(zval *object TSRMLS_DC);
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c:281:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_struct_get_properties(zval *object TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:282:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_object_path_get_properties(zval *object TSRMLS_DC);
                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:284:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_variant_initialize(php_dbus_variant_obj *dbusobj, zval *data, char *signature TSRMLS_DC);
                                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:290:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(byte);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:290:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(byte);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:291:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(bool);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:291:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(bool);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:292:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int16);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:292:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int16);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:293:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint16);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:293:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint16);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:294:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int32);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:294:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int32);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:295:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint32);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:295:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint32);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:296:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int64);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:296:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int64);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:297:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint64);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:297:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint64);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:287:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC); \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:298:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(double);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:288:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:298:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
 PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(double);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:300:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_clone_dbus(zval *this_ptr TSRMLS_DC);
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:302:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_object_compare_dbus(zval *d1, zval *d2 TSRMLS_DC);
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zm_startup_dbus':

/tmp/ext-src/dbus.c:360:24: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
  dbus_register_classes(TSRMLS_C);
                        ^~~~~~~~
                        TSRM_H

/tmp/ext-src/dbus.c:360:24: note: each undeclared identifier is reported only once for each function it appears in

/tmp/ext-src/dbus.c: In function 'dbus_register_classes':

/tmp/ext-src/dbus.c:396:13: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int]
 static void dbus_register_classes(TSRMLS_D)
             ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:404:26: error: 'dbus_object_new_dbus' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus'?
  ce_dbus.create_object = dbus_object_new_dbus;
                          ^~~~~~~~~~~~~~~~~~~~
                          dbus_object_handlers_dbus

/tmp/ext-src/dbus.c:407:40: error: 'dbus_object_clone_dbus' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus'?
  dbus_object_handlers_dbus.clone_obj = dbus_object_clone_dbus;
                                        ^~~~~~~~~~~~~~~~~~~~~~
                                        dbus_object_handlers_dbus

/tmp/ext-src/dbus.c:408:28: error: 'zend_object_handlers' {aka 'struct _zend_object_handlers'} has no member named 'compare_objects'; did you mean 'cast_object'?
  dbus_object_handlers_dbus.compare_objects = dbus_object_compare_dbus;
                            ^~~~~~~~~~~~~~~
                            cast_object

/tmp/ext-src/dbus.c:408:46: error: 'dbus_object_compare_dbus' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus'?
  dbus_object_handlers_dbus.compare_objects = dbus_object_compare_dbus;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~
                                              dbus_object_handlers_dbus

/tmp/ext-src/dbus.c:410:90: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "BYTE", sizeof("BYTE")-1, DBUS_TYPE_BYTE TSRMLS_CC);
                                                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:411:99: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "BOOLEAN", sizeof("BOOLEAN")-1, DBUS_TYPE_BOOLEAN TSRMLS_CC);
                                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:412:93: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "INT16", sizeof("INT16")-1, DBUS_TYPE_INT16 TSRMLS_CC);
                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:413:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "UINT16", sizeof("UINT16")-1, DBUS_TYPE_UINT16 TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:414:93: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "INT32", sizeof("INT32")-1, DBUS_TYPE_INT32 TSRMLS_CC);
                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:415:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "UINT32", sizeof("UINT32")-1, DBUS_TYPE_UINT32 TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:416:93: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "INT64", sizeof("INT64")-1, DBUS_TYPE_INT64 TSRMLS_CC);
                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:417:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "UINT64", sizeof("UINT64")-1, DBUS_TYPE_UINT64 TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:418:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "DOUBLE", sizeof("DOUBLE")-1, DBUS_TYPE_DOUBLE TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:419:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "STRING", sizeof("STRING")-1, DBUS_TYPE_STRING TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:420:93: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "ARRAY", sizeof("ARRAY")-1, DBUS_TYPE_ARRAY TSRMLS_CC);
                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:421:99: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "VARIANT", sizeof("VARIANT")-1, DBUS_TYPE_VARIANT TSRMLS_CC);
                                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:422:96: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "STRUCT", sizeof("STRUCT")-1, DBUS_TYPE_STRUCT TSRMLS_CC);
                                                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:423:111: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "OBJECT_PATH", sizeof("OBJECT_PATH")-1, DBUS_TYPE_OBJECT_PATH TSRMLS_CC);
                                                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:425:105: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "BUS_SESSION", sizeof("BUS_SESSION")-1, DBUS_BUS_SESSION TSRMLS_CC);
                                                                                                         ^~~~~~~~~~
                                                                                                         )

/tmp/ext-src/dbus.c:426:102: error: expected ')' before 'TSRMLS_CC'
  zend_declare_class_constant_long(dbus_ce_dbus, "BUS_SYSTEM", sizeof("BUS_SYSTEM")-1, DBUS_BUS_SYSTEM TSRMLS_CC);
                                                                                                      ^~~~~~~~~~
                                                                                                      )

/tmp/ext-src/dbus.c:429:106: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRMLS_D'?
  dbus_ce_dbus_exception = zend_register_internal_class_ex(&ce_dbus_exception, zend_exception_get_default(TSRMLS_C));
                                                                                                          ^~~~~~~~
                                                                                                          TSRMLS_D

/tmp/ext-src/dbus.c:429:79: error: too many arguments to function 'zend_exception_get_default'
  dbus_ce_dbus_exception = zend_register_internal_class_ex(&ce_dbus_exception, zend_exception_get_default(TSRMLS_C));
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:29:
/usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here
 ZEND_API zend_class_entry *zend_exception_get_default(void);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:433:95: error: too many arguments to function 'zend_exception_get_default'
  dbus_ce_dbus_exception_service = zend_register_internal_class_ex(&ce_dbus_exception_service, zend_exception_get_default(TSRMLS_C));
                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:29:
/usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here
 ZEND_API zend_class_entry *zend_exception_get_default(void);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:437:93: error: too many arguments to function 'zend_exception_get_default'
  dbus_ce_dbus_exception_method = zend_register_internal_class_ex(&ce_dbus_exception_method, zend_exception_get_default(TSRMLS_C));
                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:29:
/usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here
 ZEND_API zend_class_entry *zend_exception_get_default(void);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:441:33: error: 'dbus_object_new_dbus_object' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_object'?
  ce_dbus_object.create_object = dbus_object_new_dbus_object;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 dbus_object_handlers_dbus_object

/tmp/ext-src/dbus.c:446:33: error: 'dbus_object_new_dbus_signal' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_signal'?
  ce_dbus_signal.create_object = dbus_object_new_dbus_signal;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 dbus_object_handlers_dbus_signal

/tmp/ext-src/dbus.c:451:32: error: 'dbus_object_new_dbus_array' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_array'?
  ce_dbus_array.create_object = dbus_object_new_dbus_array;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                dbus_object_handlers_dbus_array

/tmp/ext-src/dbus.c:454:51: error: 'dbus_array_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
  dbus_object_handlers_dbus_array.get_properties = dbus_array_get_properties;
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                   zend_std_get_properties

/tmp/ext-src/dbus.c:457:31: error: 'dbus_object_new_dbus_dict' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_dict'?
  ce_dbus_dict.create_object = dbus_object_new_dbus_dict;
                               ^~~~~~~~~~~~~~~~~~~~~~~~~
                               dbus_object_handlers_dbus_dict

/tmp/ext-src/dbus.c:460:50: error: 'dbus_dict_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
  dbus_object_handlers_dbus_dict.get_properties = dbus_dict_get_properties;
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~
                                                  zend_std_get_properties

/tmp/ext-src/dbus.c:463:34: error: 'dbus_object_new_dbus_variant' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_variant'?
  ce_dbus_variant.create_object = dbus_object_new_dbus_variant;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  dbus_object_handlers_dbus_variant

/tmp/ext-src/dbus.c:466:53: error: 'dbus_variant_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
  dbus_object_handlers_dbus_variant.get_properties = dbus_variant_get_properties;
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                     zend_std_get_properties

/tmp/ext-src/dbus.c:469:30: error: 'dbus_object_new_dbus_set' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_set'?
  ce_dbus_set.create_object = dbus_object_new_dbus_set;
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              dbus_object_handlers_dbus_set

/tmp/ext-src/dbus.c:472:49: error: 'dbus_set_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
  dbus_object_handlers_dbus_set.get_properties = dbus_set_get_properties;
                                                 ^~~~~~~~~~~~~~~~~~~~~~~
                                                 zend_std_get_properties

/tmp/ext-src/dbus.c:475:33: error: 'dbus_object_new_dbus_struct' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_struct'?
  ce_dbus_struct.create_object = dbus_object_new_dbus_struct;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 dbus_object_handlers_dbus_struct

/tmp/ext-src/dbus.c:478:52: error: 'dbus_struct_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
  dbus_object_handlers_dbus_struct.get_properties = dbus_struct_get_properties;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                                    zend_std_get_properties

/tmp/ext-src/dbus.c:481:38: error: 'dbus_object_new_dbus_object_path' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_object_path'?
  ce_dbus_object_path.create_object = dbus_object_new_dbus_object_path;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      dbus_object_handlers_dbus_object_path

/tmp/ext-src/dbus.c:484:57: error: 'dbus_object_path_get_properties' undeclared (first use in this function); did you mean 'zend_object_get_properties_t'?
  dbus_object_handlers_dbus_object_path.get_properties = dbus_object_path_get_properties;
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                         zend_object_get_properties_t

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_byte' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_byte'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:486:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(byte, "DbusByte");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_byte_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:486:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(byte, "DbusByte");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_bool' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_bool'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:487:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(bool, "DbusBool");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_bool_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:487:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(bool, "DbusBool");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_int16' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_int16'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:488:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int16, "DbusInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_int16_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:488:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int16, "DbusInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_uint16' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_uint16'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:489:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint16, "DbusUInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_uint16_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:489:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint16, "DbusUInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_int32' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_int32'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:490:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int32, "DbusInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_int32_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:490:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int32, "DbusInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_uint32' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_uint32'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:491:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint32, "DbusUInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_uint32_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:491:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint32, "DbusUInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_int64' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_int64'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:492:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int64, "DbusInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_int64_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:492:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int64, "DbusInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_uint64' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_uint64'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:493:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint64, "DbusUInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_uint64_get_properties' undeclared (first use in this function); did you mean 'zend_std_get_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:493:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint64, "DbusUInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:390:31: error: 'dbus_object_new_dbus_double' undeclared (first use in this function); did you mean 'dbus_object_handlers_dbus_double'?
   ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                               ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:494:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(double, "DbusDouble");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:393:50: error: 'dbus_double_get_properties' undeclared (first use in this function); did you mean 'rebuild_object_properties'?
   dbus_object_handlers_dbus_##t.get_properties = dbus_##t##_get_properties; \
                                                  ^~~~~
/tmp/ext-src/dbus.c:494:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(double, "DbusDouble");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:497:101: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_ex(zend_class_entry *class_type, php_dbus_obj **ptr TSRMLS_DC)
                                                                                                     ^~~~~~~~~

/tmp/ext-src/dbus.c:503:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus(zend_class_entry *class_type TSRMLS_DC)
                                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:508:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_clone_dbus(zval *this_ptr TSRMLS_DC)
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:520:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_object_compare_dbus(zval *d1, zval *d2 TSRMLS_DC)
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c:525:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus(void *object TSRMLS_DC)
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c:538:115: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_object_ex(zend_class_entry *class_type, php_dbus_object_obj **ptr TSRMLS_DC)
                                                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:544:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_object(zend_class_entry *class_type TSRMLS_DC)
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:549:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_object(void *object TSRMLS_DC)
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:567:115: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_signal_ex(zend_class_entry *class_type, php_dbus_signal_obj **ptr TSRMLS_DC)
                                                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:573:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_signal(zend_class_entry *class_type TSRMLS_DC)
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:578:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_signal(void *object TSRMLS_DC)
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:597:113: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_array_ex(zend_class_entry *class_type, php_dbus_array_obj **ptr TSRMLS_DC)
                                                                                                                 ^~~~~~~~~

/tmp/ext-src/dbus.c:603:77: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_array(zend_class_entry *class_type TSRMLS_DC)
                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:608:62: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_array(void *object TSRMLS_DC)
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:620:111: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_dict_ex(zend_class_entry *class_type, php_dbus_dict_obj **ptr TSRMLS_DC)
                                                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:626:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_dict(zend_class_entry *class_type TSRMLS_DC)
                                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:631:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_dict(void *object TSRMLS_DC)
                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:643:117: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_variant_ex(zend_class_entry *class_type, php_dbus_variant_obj **ptr TSRMLS_DC)
                                                                                                                     ^~~~~~~~~

/tmp/ext-src/dbus.c:649:79: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_variant(zend_class_entry *class_type TSRMLS_DC)
                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:654:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_variant(void *object TSRMLS_DC)
                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c:666:109: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_set_ex(zend_class_entry *class_type, php_dbus_set_obj **ptr TSRMLS_DC)
                                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:672:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_set(zend_class_entry *class_type TSRMLS_DC)
                                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c:677:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_set(void *object TSRMLS_DC)
                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:696:115: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_struct_ex(zend_class_entry *class_type, php_dbus_struct_obj **ptr TSRMLS_DC)
                                                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:702:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_struct(zend_class_entry *class_type TSRMLS_DC)
                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:707:63: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_struct(void *object TSRMLS_DC)
                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:715:125: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static inline zend_object* dbus_object_new_dbus_object_path_ex(zend_class_entry *class_type, php_dbus_object_path_obj **ptr TSRMLS_DC)
                                                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:721:83: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zend_object* dbus_object_new_dbus_object_path(zend_class_entry *class_type TSRMLS_DC)
                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:726:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void dbus_object_free_storage_dbus_object_path(void *object TSRMLS_DC)
                                                                    ^~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:771:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:771:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:771:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:771:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:772:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_TRUE || IS_FALSE,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:772:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_TRUE || IS_FALSE,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:772:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_TRUE || IS_FALSE,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:772:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_TRUE || IS_FALSE,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:773:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:773:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:773:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:773:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:774:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:774:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:774:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:774:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:775:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:775:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:775:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:775:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:776:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:776:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:776:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:776:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:777:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:777:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:777:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:777:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:778:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:778:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:778:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:778:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:734:114: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static inline zend_object* dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                                                                                                                  ^~~~~~~~~
/tmp/ext-src/dbus.c:779:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:740:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static zend_object* dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
                                                                            ^~~~~~~~~
/tmp/ext-src/dbus.c:779:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:745:61: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static void dbus_object_free_storage_dbus_##t(void *object TSRMLS_DC) \
                                                             ^~~~~~~~~
/tmp/ext-src/dbus.c:779:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:752:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static HashTable *dbus_##t##_get_properties(zval *object TSRMLS_DC) \
                                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:779:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:782:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zval * dbus_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC)
                                                                    ^~~~~~~~~

/tmp/ext-src/dbus.c:797:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_initialize(php_dbus_obj *dbusobj, int type, int introspect TSRMLS_DC)
                                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_Dbus___construct':

/tmp/ext-src/dbus.c:825:2: warning: implicit declaration of function 'dbus_set_error_handling'; did you mean 'php_set_error_handling'? [-Wimplicit-function-declaration]
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~
  php_set_error_handling

/tmp/ext-src/dbus.c:825:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:826:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &type, &introspect)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:826:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &type, &introspect)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:828:3: warning: implicit declaration of function 'dbus_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
   dbus_initialize(dbus, type, introspect TSRMLS_CC);
   ^~~~~~~~~~~~~~~
   php_com_initialize

/tmp/ext-src/dbus.c:828:41: error: expected ')' before 'TSRMLS_CC'
   dbus_initialize(dbus, type, introspect TSRMLS_CC);
                                         ^~~~~~~~~~
                                         )

/tmp/ext-src/dbus.c:830:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:834:132: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_object_initialize(php_dbus_object_obj *dbusobj, php_dbus_obj *dbus, char *destination, char *path, char *interface TSRMLS_DC)
                                                                                                                                    ^~~~~~~~~

/tmp/ext-src/dbus.c:844:123: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void php_dbus_introspect(php_dbus_object_obj *dbusobj, php_dbus_obj* dbus, char *dest, char *path, char *interface TSRMLS_DC)
                                                                                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusObject___construct':

/tmp/ext-src/dbus.c:907:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:908:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Osss!",
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:908:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Osss!",
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:916:3: warning: implicit declaration of function 'dbus_object_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
   dbus_object_initialize(dbus_object, dbus, destination, path, interface TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~~
   php_com_initialize

/tmp/ext-src/dbus.c:916:73: error: expected ')' before 'TSRMLS_CC'
   dbus_object_initialize(dbus_object, dbus, destination, path, interface TSRMLS_CC);
                                                                         ^~~~~~~~~~
                                                                         )

/tmp/ext-src/dbus.c:918:4: warning: implicit declaration of function 'php_dbus_introspect' [-Wimplicit-function-declaration]
    php_dbus_introspect(dbus_object, dbus, destination, path, interface TSRMLS_CC);
    ^~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:918:71: error: expected ')' before 'TSRMLS_CC'
    php_dbus_introspect(dbus_object, dbus, destination, path, interface TSRMLS_CC);
                                                                       ^~~~~~~~~~
                                                                       )

/tmp/ext-src/dbus.c:921:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_Dbus_createProxy':

/tmp/ext-src/dbus.c:936:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:937:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss!",
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:937:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss!",
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:943:3: warning: implicit declaration of function 'dbus_instantiate'; did you mean 'dbus_bus_register'? [-Wimplicit-function-declaration]
   dbus_instantiate(dbus_ce_dbus_object, return_value TSRMLS_CC);
   ^~~~~~~~~~~~~~~~
   dbus_bus_register

/tmp/ext-src/dbus.c:943:53: error: expected ')' before 'TSRMLS_CC'
   dbus_instantiate(dbus_ce_dbus_object, return_value TSRMLS_CC);
                                                     ^~~~~~~~~~
                                                     )

/tmp/ext-src/dbus.c:945:73: error: expected ')' before 'TSRMLS_CC'
   dbus_object_initialize(dbus_object, dbus, destination, path, interface TSRMLS_CC);
                                                                         ^~~~~~~~~~
                                                                         )

/tmp/ext-src/dbus.c:947:71: error: expected ')' before 'TSRMLS_CC'
    php_dbus_introspect(dbus_object, dbus, destination, path, interface TSRMLS_CC);
                                                                       ^~~~~~~~~~
                                                                       )

/tmp/ext-src/dbus.c:950:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:954:83: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void php_dbus_accept_incoming_signal(DBusMessage *msg, zval **return_value TSRMLS_DC)
                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'php_dbus_do_method_call':

/tmp/ext-src/dbus.c:990:2: warning: implicit declaration of function 'php_dbus_handle_reply'; did you mean 'php_output_handler_free'? [-Wimplicit-function-declaration]
  php_dbus_handle_reply(&params, msg, 1);
  ^~~~~~~~~~~~~~~~~~~~~
  php_output_handler_free

/tmp/ext-src/dbus.c:1011:6: warning: implicit declaration of function 'call_user_function_ex'; did you mean 'call_user_function'? [-Wimplicit-function-declaration]
  if (call_user_function_ex(EG(function_table), object, &callback, &retval,
      ^~~~~~~~~~~~~~~~~~~~~
      call_user_function

/tmp/ext-src/dbus.c:1015:4: warning: implicit declaration of function 'php_dbus_append_parameters'; did you mean 'zend_parse_parameters'? [-Wimplicit-function-declaration]
    php_dbus_append_parameters(reply, &retval, NULL,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    zend_parse_parameters

/tmp/ext-src/dbus.c:1016:50: error: expected ')' before 'TSRMLS_CC'
                         PHP_DBUS_RETURN_FUNCTION TSRMLS_CC);
                                                  ^~~~~~~~~

/tmp/ext-src/dbus.c:1020:27: error: expected ')' before 'TSRMLS_CC'
     php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
                           ^~~~~~~~~

/tmp/ext-src/dbus.c:1020:5: error: too few arguments to function 'php_error_docref'
     php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
     ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:1035:108: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static void php_dbus_accept_incoming_method_call(php_dbus_obj *dbus, DBusMessage *msg, zval **return_value TSRMLS_DC)
                                                                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_Dbus_waitLoop':

/tmp/ext-src/dbus.c:1083:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1084:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1084:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1097:5: warning: implicit declaration of function 'php_dbus_accept_incoming_signal'; did you mean 'php_dbus_get_next_sig'? [-Wimplicit-function-declaration]
     php_dbus_accept_incoming_signal(msg, &return_value TSRMLS_CC);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     php_dbus_get_next_sig

/tmp/ext-src/dbus.c:1097:55: error: expected ')' before 'TSRMLS_CC'
     php_dbus_accept_incoming_signal(msg, &return_value TSRMLS_CC);
                                                       ^~~~~~~~~~
                                                       )

/tmp/ext-src/dbus.c:1100:5: warning: implicit declaration of function 'php_dbus_accept_incoming_method_call'; did you mean 'php_dbus_do_method_call'? [-Wimplicit-function-declaration]
     php_dbus_accept_incoming_method_call(dbus, msg, &return_value TSRMLS_CC);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     php_dbus_do_method_call

/tmp/ext-src/dbus.c:1100:66: error: expected ')' before 'TSRMLS_CC'
     php_dbus_accept_incoming_method_call(dbus, msg, &return_value TSRMLS_CC);
                                                                  ^~~~~~~~~~
                                                                  )

/tmp/ext-src/dbus.c:1104:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_Dbus_requestName':

/tmp/ext-src/dbus.c:1120:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1121:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1121:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1132:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not Primary Owner (%d)\n", ret);
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1132:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not Primary Owner (%d)\n", ret);
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1134:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_Dbus_registerObject':

/tmp/ext-src/dbus.c:1149:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1150:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1150:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1161:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:1166:79: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var(zval **val, DBusMessageIter *iter, char *type_hint TSRMLS_DC);
                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:1168:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_php_array(DBusMessageIter *iter, zval *array TSRMLS_DC)
                                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1200:81: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_array(DBusMessageIter *iter, php_dbus_array_obj *obj TSRMLS_DC)
                                                                                 ^~~~~~~~~

/tmp/ext-src/dbus.c:1229:79: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_dict(DBusMessageIter *iter, php_dbus_dict_obj *obj TSRMLS_DC)
                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:1285:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_fetch_child_type(zval *child TSRMLS_DC)
                                                  ^~~~~~~~~

/tmp/ext-src/dbus.c:1325:62: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static char* php_dbus_fetch_child_type_as_string(zval *child TSRMLS_DC)
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1360:85: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_variant(DBusMessageIter *iter, php_dbus_variant_obj *obj TSRMLS_DC)
                                                                                     ^~~~~~~~~

/tmp/ext-src/dbus.c:1377:77: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_set(DBusMessageIter *iter, php_dbus_set_obj *obj TSRMLS_DC)
                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:1388:83: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_struct(DBusMessageIter *iter, php_dbus_struct_obj *obj TSRMLS_DC)
                                                                                   ^~~~~~~~~

/tmp/ext-src/dbus.c:1405:93: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var_object_path(DBusMessageIter *iter, php_dbus_object_path_obj *obj TSRMLS_DC)
                                                                                             ^~~~~~~~~

/tmp/ext-src/dbus.c:1436:79: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_append_var(zval **val, DBusMessageIter *iter, char *type_hint TSRMLS_DC)
                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:1515:94: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_append_parameters(DBusMessage *msg, zval *data, xmlNode *inXml, int type TSRMLS_DC)
                                                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1546:65: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static zval *php_dbus_to_zval(DBusMessageIter *args, zval **key TSRMLS_DC)
                                                                 ^~~~~~~~~

/tmp/ext-src/dbus.c:1690:89: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int php_dbus_handle_reply(zval *return_value, DBusMessage *msg, int always_array TSRMLS_DC)
                                                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusObject___call':

/tmp/ext-src/dbus.c:1775:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1775:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1781:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1784:172: error: expected ')' before 'TSRMLS_CC'
  php_dbus_append_parameters(msg, data, dbus_object->introspect_xml ? php_dbus_find_method_node(dbus_object->introspect_xml->children, name) : NULL, PHP_DBUS_CALL_FUNCTION TSRMLS_CC);
                                                                                                                                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c:1789:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1789:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1794:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pending call null.");
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1794:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pending call null.");
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1807:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:1813:45: error: expected ')' before 'TSRMLS_CC'
   php_dbus_handle_reply(return_value, msg, 0 TSRMLS_CC);
                                             ^~~~~~~~~~
                                             )

/tmp/ext-src/dbus.c: In function 'zim_Dbus_addWatch':

/tmp/ext-src/dbus.c:1828:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1828:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1834:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1848:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:1850:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Match error (%s)", err.message);
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1850:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Match error (%s)", err.message);
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:1856:129: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_signal_initialize(php_dbus_signal_obj *dbusobj, php_dbus_obj *dbus, char *object, char *interface, char *signal TSRMLS_DC)
                                                                                                                                 ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusSignal___construct':

/tmp/ext-src/dbus.c:1878:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1879:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Osss",
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:1879:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Osss",
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1887:3: warning: implicit declaration of function 'dbus_signal_initialize'; did you mean 'dbus_signature_validate'? [-Wimplicit-function-declaration]
   dbus_signal_initialize(signal_object, dbus, object_name, interface, signal TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~~
   dbus_signature_validate

/tmp/ext-src/dbus.c:1887:77: error: expected ')' before 'TSRMLS_CC'
   dbus_signal_initialize(signal_object, dbus, object_name, interface, signal TSRMLS_CC);
                                                                             ^~~~~~~~~~
                                                                             )

/tmp/ext-src/dbus.c:1889:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusSignal_matches':

/tmp/ext-src/dbus.c:1902:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1902:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusSignal_getData':

/tmp/ext-src/dbus.c:1919:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:1919:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1926:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "This signal is outgoing, and therefore does not have data.");
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1926:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "This signal is outgoing, and therefore does not have data.");
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1930:56: error: expected ')' before 'TSRMLS_CC'
  php_dbus_handle_reply(return_value, signal_obj->msg, 0 TSRMLS_CC);
                                                        ^~~~~~~~~~
                                                        )

/tmp/ext-src/dbus.c: In function 'zim_DbusSignal_send':

/tmp/ext-src/dbus.c:1941:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1945:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "This signal is incoming, and therefore can not be send.");
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1945:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "This signal is incoming, and therefore can not be send.");
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1960:3: warning: implicit declaration of function 'dbus_append_var'; did you mean 'dbus_append_var_bool'? [-Wimplicit-function-declaration]
   dbus_append_var(&tmp, &dbus_args, NULL);
   ^~~~~~~~~~~~~~~
   dbus_append_var_bool

/tmp/ext-src/dbus.c:1966:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
                         ^~~~~~~~~

/tmp/ext-src/dbus.c:1966:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Out of memory.");
   ^~~~~~~~~~~~~~~~

In file included from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:1972:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:1975:106: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_array_initialize(php_dbus_array_obj *dbusobj, long type, zval *elements, char *signature TSRMLS_DC)
                                                                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c:1988:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_array_get_properties(zval *object TSRMLS_DC)
                                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusArray___construct':

/tmp/ext-src/dbus.c:2020:2: warning: #warning test whether signature is present when type == struct [-Wcpp]
 #warning test whether signature is present when type == struct
  ^~~~~~~

/tmp/ext-src/dbus.c:2022:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2023:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|s", &type, &array, &signature, &signature_len)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:2023:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|s", &type, &array, &signature, &signature_len)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2025:3: warning: implicit declaration of function 'dbus_array_initialize'; did you mean 'array_init_size'? [-Wimplicit-function-declaration]
   dbus_array_initialize(array_obj, type, array, signature TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~
   array_init_size

/tmp/ext-src/dbus.c:2025:58: error: expected ')' before 'TSRMLS_CC'
   dbus_array_initialize(array_obj, type, array, signature TSRMLS_CC);
                                                          ^~~~~~~~~~
                                                          )

/tmp/ext-src/dbus.c:2027:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusArray_getData':

/tmp/ext-src/dbus.c:2036:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2036:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2045:104: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_dict_initialize(php_dbus_dict_obj *dbusobj, long type, zval *elements, char *signature TSRMLS_DC)
                                                                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c:2058:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_dict_get_properties(zval *object TSRMLS_DC)
                                                         ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusDict___construct':

/tmp/ext-src/dbus.c:2091:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2092:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|s", &type, &dict, &signature, &signature_len)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:2092:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|s", &type, &dict, &signature, &signature_len)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2094:3: warning: implicit declaration of function 'dbus_dict_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
   dbus_dict_initialize(dict_obj, type, dict, signature TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~
   php_com_initialize

/tmp/ext-src/dbus.c:2094:55: error: expected ')' before 'TSRMLS_CC'
   dbus_dict_initialize(dict_obj, type, dict, signature TSRMLS_CC);
                                                       ^~~~~~~~~~
                                                       )

/tmp/ext-src/dbus.c:2096:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusDict_getData':

/tmp/ext-src/dbus.c:2105:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2105:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2114:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_variant_initialize(php_dbus_variant_obj *dbusobj, zval *data, char *signature TSRMLS_DC)
                                                                                               ^~~~~~~~~

/tmp/ext-src/dbus.c:2125:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_variant_get_properties(zval *object TSRMLS_DC)
                                                            ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusVariant___construct':

/tmp/ext-src/dbus.c:2150:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2151:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &data, &signature, &signature_len)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:2151:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &data, &signature, &signature_len)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2153:3: warning: implicit declaration of function 'dbus_variant_initialize'; did you mean 'dbus_validate_interface'? [-Wimplicit-function-declaration]
   dbus_variant_initialize(variant_obj, data, signature TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~~~
   dbus_validate_interface

/tmp/ext-src/dbus.c:2153:55: error: expected ')' before 'TSRMLS_CC'
   dbus_variant_initialize(variant_obj, data, signature TSRMLS_CC);
                                                       ^~~~~~~~~~
                                                       )

/tmp/ext-src/dbus.c:2155:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusVariant_getData':

/tmp/ext-src/dbus.c:2164:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2164:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2174:85: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_set_initialize(php_dbus_set_obj *dbusobj, zval **data, int elements TSRMLS_DC)
                                                                                     ^~~~~~~~~

/tmp/ext-src/dbus.c:2192:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_set_get_properties(zval *object TSRMLS_DC)
                                                        ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusSet___construct':

/tmp/ext-src/dbus.c:2224:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2229:3: warning: implicit declaration of function 'dbus_set_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
   dbus_set_initialize(set_obj, &data, elements TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~
   php_com_initialize

/tmp/ext-src/dbus.c:2229:47: error: expected ')' before 'TSRMLS_CC'
   dbus_set_initialize(set_obj, &data, elements TSRMLS_CC);
                                               ^~~~~~~~~~
                                               )

/tmp/ext-src/dbus.c:2232:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusSet_getData':

/tmp/ext-src/dbus.c:2242:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2242:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2254:97: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_struct_initialize(php_dbus_struct_obj *dbusobj, char *signature, zval *elements TSRMLS_DC)
                                                                                                 ^~~~~~~~~

/tmp/ext-src/dbus.c:2263:59: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_struct_get_properties(zval *object TSRMLS_DC)
                                                           ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusStruct___construct':

/tmp/ext-src/dbus.c:2288:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2289:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", &signature, &signature_len, &array)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:2289:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", &signature, &signature_len, &array)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2291:3: warning: implicit declaration of function 'dbus_struct_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
   dbus_struct_initialize(struct_obj, signature, array TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~~
   php_com_initialize

/tmp/ext-src/dbus.c:2291:54: error: expected ')' before 'TSRMLS_CC'
   dbus_struct_initialize(struct_obj, signature, array TSRMLS_CC);
                                                      ^~~~~~~~~~
                                                      )

/tmp/ext-src/dbus.c:2293:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusStruct_getData':

/tmp/ext-src/dbus.c:2302:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2302:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2311:86: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static int dbus_object_path_initialize(php_dbus_object_path_obj *dbusobj, char *path TSRMLS_DC)
                                                                                      ^~~~~~~~~

/tmp/ext-src/dbus.c:2318:64: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 static HashTable *dbus_object_path_get_properties(zval *object TSRMLS_DC)
                                                                ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusObjectPath___construct':

/tmp/ext-src/dbus.c:2344:41: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC);
                                         ^~~~~~~~~

/tmp/ext-src/dbus.c:2345:55: error: expected ')' before 'TSRMLS_CC'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &path, &path_len)) {
                                                       ^~~~~~~~~

/tmp/ext-src/dbus.c:2345:17: error: too few arguments to function 'zend_parse_parameters'
  if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &path, &path_len)) {
                 ^~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2347:3: warning: implicit declaration of function 'dbus_object_path_initialize'; did you mean 'zend_object_std_init'? [-Wimplicit-function-declaration]
   dbus_object_path_initialize(object_path_obj, path TSRMLS_CC);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   zend_object_std_init

/tmp/ext-src/dbus.c:2347:52: error: expected ')' before 'TSRMLS_CC'
   dbus_object_path_initialize(object_path_obj, path TSRMLS_CC);
                                                    ^~~~~~~~~~
                                                    )

/tmp/ext-src/dbus.c:2349:42: error: expected ')' before 'TSRMLS_CC'
  dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                                          ^~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusObjectPath_getData':

/tmp/ext-src/dbus.c:2358:62: error: expected ')' before 'TSRMLS_CC'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                                                              ^~~~~~~~~

/tmp/ext-src/dbus.c:2358:17: error: too few arguments to function 'zend_parse_method_parameters'
  if (FAILURE == zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:312:22: note: declared here
 ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusByte___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_byte_initialize'; did you mean 'dbus_type_is_valid'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2386:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusBool___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_bool_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2387:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusInt16___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_int16_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2388:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusUInt16___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_uint16_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2389:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusInt32___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_int32_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2390:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusUInt32___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_uint32_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2391:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusInt64___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_int64_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2392:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusUInt64___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_uint64_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2393:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: At top level:

/tmp/ext-src/dbus.c:2369:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
                                                                       ^~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c: In function 'zim_DbusDouble___construct':

/tmp/ext-src/dbus.c:2377:42: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_THROW, NULL TSRMLS_CC); \
                                          ^~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:56: error: expected ')' before 'TSRMLS_CC'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                                                        ^~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2378:18: error: too few arguments to function 'zend_parse_parameters'
   if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &data)) { \
                  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/ext-src/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:4: warning: implicit declaration of function 'dbus_double_initialize'; did you mean 'php_com_initialize'? [-Wimplicit-function-declaration]
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
    ^~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2381:43: error: expected ')' before 'TSRMLS_CC'
    dbus_##s##_initialize(dbusobj, (t)data TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

/tmp/ext-src/dbus.c:2383:43: error: expected ')' before 'TSRMLS_CC'
   dbus_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); \
                                           ^~~~~~~~~
/tmp/ext-src/dbus.c:2394:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
 PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
 ^~~~~~~~~~~~~~~~~~~~

make: *** [Makefile:209: dbus.lo] Error 1