php-ext.com / dbus (from pecl using PHP 7.4.16-zts-buster)

Dockerfile
FROM php:7.4.16-zts-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 pecl install --force dbus && \
    pecl run-tests dbus
Build output FAIL 17ss
Step 1/4 : FROM php:7.4.16-zts-buster
---> f100431f0b6a
Step 2/4 : WORKDIR /tmp
---> Running in ca6aa038b4ff
Removing intermediate container ca6aa038b4ff
---> 0a695e19fc3a
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 5c8ebc393496


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 [122 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main amd64 Packages [268 kB]
Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 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 [9504 B]
Fetched 8423 kB in 2s (3618 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.


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 1 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://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:2 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u1 [330 kB]
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://security.debian.org/debian-security buster/updates/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:9 http://security.debian.org/debian-security buster/updates/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 10.7 MB in 1s (11.2 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+deb10u1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u1) ...
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+deb10u1) ...
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 1 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 3s (4164 kB/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 5c8ebc393496
---> 8f95793ac8e3
Step 4/4 : RUN pecl install --force dbus && pecl run-tests dbus
---> Running in bea991538b7e
WARNING: failed to download pecl.php.net/dbus within preferred state "stable", will instead download version 0.1.1, stability "beta"
downloading dbus-0.1.1.tgz ...
Starting to download dbus-0.1.1.tgz (17,131 bytes)
.
.
.
...done: 17,131 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
building in /tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1
running: /tmp/pear/temp/dbus/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for 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-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
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.7.6... 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
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1/libtool --mode=compile cc  -I. -I/tmp/pear/temp/dbus -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1/include -I/tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1/main -I/tmp/pear/temp/dbus -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/pear/temp/dbus/dbus.c -o dbus.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/dbus -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1/include -I/tmp/pear/temp/pear-build-defaultuserN3kJzG/dbus-0.1.1/main -I/tmp/pear/temp/dbus -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/pear/temp/dbus/dbus.c  -fPIC -DPIC -o .libs/dbus.o
/tmp/pear/temp/dbus/dbus.c:302:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:303:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_object(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:304:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_signal(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:305:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_array(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:306:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_dict(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:307:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_variant(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:308:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_set(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:309:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_struct(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:310:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_object_path(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:335:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(byte);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:336:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(bool);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:337:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:338:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:339:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:340:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:341:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(int64);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:342:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(uint64);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:333:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:343:1: note: in expansion of macro 'PHP_DBUS_FORWARD_DECL_TYPE_FUNCS'
PHP_DBUS_FORWARD_DECL_TYPE_FUNCS(double);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:345:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_clone_dbus(zval *this_ptr TSRMLS_DC);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_register_classes':
/tmp/pear/temp/dbus/dbus.c:449:24: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus.create_object = dbus_object_new_dbus;
^
/tmp/pear/temp/dbus/dbus.c:450:17: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus = zend_register_internal_class_ex(&ce_dbus, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:452:38: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} from incompatible pointer type 'int (*)(zval *)' {aka 'int (*)(struct _zval_struct *)'} [-Wincompatible-pointer-types]
dbus_object_handlers_dbus.clone_obj = dbus_object_clone_dbus;
^
/tmp/pear/temp/dbus/dbus.c:474:31: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_object.create_object = dbus_object_new_dbus_object;
^
/tmp/pear/temp/dbus/dbus.c:475:24: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_object = zend_register_internal_class_ex(&ce_dbus_object, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:479:31: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_signal.create_object = dbus_object_new_dbus_signal;
^
/tmp/pear/temp/dbus/dbus.c:480:24: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_signal = zend_register_internal_class_ex(&ce_dbus_signal, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:484:30: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_array.create_object = dbus_object_new_dbus_array;
^
/tmp/pear/temp/dbus/dbus.c:485:23: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_array = zend_register_internal_class_ex(&ce_dbus_array, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:490:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_dict.create_object = dbus_object_new_dbus_dict;
^
/tmp/pear/temp/dbus/dbus.c:491:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_dict = zend_register_internal_class_ex(&ce_dbus_dict, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:496:32: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_variant.create_object = dbus_object_new_dbus_variant;
^
/tmp/pear/temp/dbus/dbus.c:497:25: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_variant = zend_register_internal_class_ex(&ce_dbus_variant, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:502:28: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_set.create_object = dbus_object_new_dbus_set;
^
/tmp/pear/temp/dbus/dbus.c:503:21: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_set = zend_register_internal_class_ex(&ce_dbus_set, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:508:31: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_struct.create_object = dbus_object_new_dbus_struct;
^
/tmp/pear/temp/dbus/dbus.c:509:24: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_struct = zend_register_internal_class_ex(&ce_dbus_struct, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:514:36: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_object_path.create_object = dbus_object_new_dbus_object_path;
^
/tmp/pear/temp/dbus/dbus.c:515:29: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_object_path = zend_register_internal_class_ex(&ce_dbus_object_path, NULL, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:519:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(byte, "DbusByte");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:519:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(byte, "DbusByte");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:520:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(bool, "DbusBool");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:520:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(bool, "DbusBool");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:521:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(int16, "DbusInt16");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:521:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(int16, "DbusInt16");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:522:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(uint16, "DbusUInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
   dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:522:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint16, "DbusUInt16");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:523:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int32, "DbusInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
   dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:523:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int32, "DbusInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                             ^
/tmp/pear/temp/dbus/dbus.c:524:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint32, "DbusUInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:524:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint32, "DbusUInt32");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:525:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
PHP_DBUS_REGISTER_TYPE_CLASS(int64, "DbusInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:525:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(int64, "DbusInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
                             ^
/tmp/pear/temp/dbus/dbus.c:526:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint64, "DbusUInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
   dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:526:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(uint64, "DbusUInt64");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:436:29: warning: assignment to 'zend_object * (*)(zend_class_entry *)' {aka 'struct _zend_object * (*)(struct _zend_class_entry *)'} from incompatible pointer type 'int (*)(zend_class_entry *)' {aka 'int (*)(struct _zend_class_entry *)'} [-Wincompatible-pointer-types]
ce_dbus_##t.create_object = dbus_object_new_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:527:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(double, "DbusDouble");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:437:22: error: too many arguments to function 'zend_register_internal_class_ex'
   dbus_ce_dbus_##t = zend_register_internal_class_ex(&ce_dbus_##t, NULL, NULL TSRMLS_CC); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:527:2: note: in expansion of macro 'PHP_DBUS_REGISTER_TYPE_CLASS'
  PHP_DBUS_REGISTER_TYPE_CLASS(double, "DbusDouble");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
                 from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:283:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:530:15: error: unknown type name 'zend_object_value'
 static inline zend_object_value dbus_object_new_dbus_ex(zend_class_entry *class_type, php_dbus_obj **ptr TSRMLS_DC)
               ^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_ex':
/tmp/pear/temp/dbus/dbus.c:533:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:545:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:545:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:545:50: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/dbus/dbus.c:545:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:545:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_obj *' {aka 'struct _php_dbus_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:545:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:546:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:551:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:556:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_clone_dbus(zval *this_ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_clone_dbus':
/tmp/pear/temp/dbus/dbus.c:559:43: warning: implicit declaration of function 'zend_object_store_get_object'; did you mean 'zend_objects_store_destroy'? [-Wimplicit-function-declaration]
php_dbus_obj *old_obj = (php_dbus_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_destroy
/tmp/pear/temp/dbus/dbus.c:559:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
php_dbus_obj *old_obj = (php_dbus_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:560:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value new_ov = dbus_object_new_dbus_ex(old_obj->std.ce, &new_obj TSRMLS_CC);
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:562:44: warning: passing argument 2 of 'zend_objects_clone_members' makes pointer from integer without a cast [-Wint-conversion]
zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:32,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects.h:28:94: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'int'
ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_object);
~~~~~~~~~~~~~^~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:562:2: error: too many arguments to function 'zend_objects_clone_members'
zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:32,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects.h:28:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_object);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_free_storage_dbus':
/tmp/pear/temp/dbus/dbus.c:579:21: error: 'HashTable' {aka 'struct _zend_array'} has no member named 'arBuckets'
if (intern->objects.arBuckets) {
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:588:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_object_ex(zend_class_entry *class_type, php_dbus_object_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_object_ex':
/tmp/pear/temp/dbus/dbus.c:591:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:603:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:603:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:603:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:603:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_object_obj *' {aka 'struct _php_dbus_object_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:603:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:604:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_object;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:609:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_object(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:633:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_signal_ex(zend_class_entry *class_type, php_dbus_signal_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_signal_ex':
/tmp/pear/temp/dbus/dbus.c:636:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:648:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_signal, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:648:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_signal, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:648:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_signal, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:648:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_signal, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_signal_obj *' {aka 'struct _php_dbus_signal_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:648:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_signal, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:649:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_signal;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:654:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_signal(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:680:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_array_ex(zend_class_entry *class_type, php_dbus_array_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_array_ex':
/tmp/pear/temp/dbus/dbus.c:683:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:695:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_array, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:695:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_array, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:695:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_array, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:695:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_array, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_array_obj *' {aka 'struct _php_dbus_array_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:695:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_array, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:696:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_array;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:701:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_array(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:718:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_dict_ex(zend_class_entry *class_type, php_dbus_dict_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_dict_ex':
/tmp/pear/temp/dbus/dbus.c:721:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:733:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_dict, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:733:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_dict, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:733:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_dict, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:733:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_dict, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_dict_obj *' {aka 'struct _php_dbus_dict_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:733:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_dict, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:734:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_dict;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:739:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_dict(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:756:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_variant_ex(zend_class_entry *class_type, php_dbus_variant_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_variant_ex':
/tmp/pear/temp/dbus/dbus.c:759:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:771:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_variant, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:771:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_variant, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:771:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_variant, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:771:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_variant, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_variant_obj *' {aka 'struct _php_dbus_variant_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:771:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_variant, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:772:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_variant;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:777:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_variant(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:791:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_set_ex(zend_class_entry *class_type, php_dbus_set_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_set_ex':
/tmp/pear/temp/dbus/dbus.c:794:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:806:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_set, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:806:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_set, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:806:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_set, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:806:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_set, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_set_obj *' {aka 'struct _php_dbus_set_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:806:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_set, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:807:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_set;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:812:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_set(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_free_storage_dbus_set':
/tmp/pear/temp/dbus/dbus.c:828:19: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
zval_ptr_dtor(&intern->elements[i]);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:36,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_variables.h:79:35: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API void zval_ptr_dtor(zval *zval_ptr);
~~~~~~^~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:838:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_struct_ex(zend_class_entry *class_type, php_dbus_struct_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_struct_ex':
/tmp/pear/temp/dbus/dbus.c:841:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:853:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_struct, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:853:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_struct, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:853:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_struct, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:853:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_struct, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_struct_obj *' {aka 'struct _php_dbus_struct_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:853:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_struct, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:854:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_struct;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:859:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_struct(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:873:15: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_object_path_ex(zend_class_entry *class_type, php_dbus_object_path_obj **ptr TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_object_path_ex':
/tmp/pear/temp/dbus/dbus.c:876:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval;
^~~~~~~~~~~~~~~~~
zend_objects_store
/tmp/pear/temp/dbus/dbus.c:888:8: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object_path, NULL TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:888:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object_path, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~
zend_objects_store_del
/tmp/pear/temp/dbus/dbus.c:888:76: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object_path, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
)
/tmp/pear/temp/dbus/dbus.c:888:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object_path, NULL TSRMLS_CC);
^~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_object_path_obj *' {aka 'struct _php_dbus_object_path_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:888:18: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_object_path, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:889:8: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_object_path;
^
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:894:8: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_object_path(zend_class_entry *class_type TSRMLS_DC)
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_byte_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_byte_obj *' {aka 'struct _php_dbus_byte_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_byte_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:949:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration]
MAKE_STD_ZVAL(zv); \
^~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:961:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(byte,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_bool_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_bool_obj *' {aka 'struct _php_dbus_bool_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_bool_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:37: error: 'IS_BOOL' undeclared (first use in this function); did you mean 'INI_BOOL'?
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:18: note: in definition of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
Z_TYPE_P(zv) = pt; \
^~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:962:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(bool,IS_BOOL,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_int16_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_int16_obj *' {aka 'struct _php_dbus_int16_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_int16_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:963:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_uint16_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_uint16_obj *' {aka 'struct _php_dbus_uint16_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_uint16_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:964:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint16,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_int32_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_int32_obj *' {aka 'struct _php_dbus_int32_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_int32_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:965:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_uint32_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_uint32_obj *' {aka 'struct _php_dbus_uint32_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_uint32_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:966:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint32,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_int64_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_int64_obj *' {aka 'struct _php_dbus_int64_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_int64_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:967:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(int64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
                              ^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
                ^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
 PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_uint64_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_uint64_obj *' {aka 'struct _php_dbus_uint64_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_uint64_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:968:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(uint64,IS_LONG,lval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:908:16: error: unknown type name 'zend_object_value'
static inline zend_object_value dbus_object_new_dbus_##t##_ex(zend_class_entry *class_type, php_dbus_##t##_obj **ptr TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_new_dbus_double_ex':
/tmp/pear/temp/dbus/dbus.c:911:3: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'?
zend_object_value retval; \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:9: error: request for member 'handle' in something not a structure or union
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:51: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_del'?
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:77: error: expected ')' before 'zend_objects_destroy_object'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:923:42: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types]
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:65: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'php_dbus_double_obj *' {aka 'struct _php_dbus_double_obj *'}
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:923:19: error: too many arguments to function 'zend_objects_store_put'
retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) dbus_object_free_storage_dbus_##t, NULL TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_globals.h:33,
from /usr/local/include/php/Zend/zend_compile.h:711,
from /usr/local/include/php/Zend/zend_modules.h:24,
from /usr/local/include/php/Zend/zend_API.h:25,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_objects_API.h:61:29: note: declared here
ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:924:9: error: request for member 'handlers' in something not a structure or union
retval.handlers = &dbus_object_handlers_dbus_##t; \
^
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: At top level:
/tmp/pear/temp/dbus/dbus.c:929:9: error: unknown type name 'zend_object_value'
static zend_object_value dbus_object_new_dbus_##t(zend_class_entry *class_type TSRMLS_DC) \
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_double_get_properties':
/tmp/pear/temp/dbus/dbus.c:948:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
intern = (php_dbus_##t##_obj *) zend_object_store_get_object(object TSRMLS_CC); \
^
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:950:16: error: lvalue required as left operand of assignment
Z_TYPE_P(zv) = pt; \
^
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:955:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "value", 6, (void*)&zv, sizeof(zval *), NULL); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:969:1: note: in expansion of macro 'PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS'
PHP_DBUS_DEFINE_TYPE_OBJ_FUNCS(double,IS_DOUBLE,dval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_instantiate':
/tmp/pear/temp/dbus/dbus.c:975:3: warning: implicit declaration of function 'ALLOC_ZVAL'; did you mean 'ALLOCA_FLAG'? [-Wimplicit-function-declaration]
ALLOC_ZVAL(object);
^~~~~~~~~~
ALLOCA_FLAG
/tmp/pear/temp/dbus/dbus.c:978:19: error: lvalue required as left operand of assignment
Z_TYPE_P(object) = IS_OBJECT;
^
/tmp/pear/temp/dbus/dbus.c:982:2: warning: implicit declaration of function 'Z_UNSET_ISREF_P'; did you mean 'Z_OPT_ISREF_P'? [-Wimplicit-function-declaration]
Z_UNSET_ISREF_P(object);
^~~~~~~~~~~~~~~
Z_OPT_ISREF_P
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_initialize':
/usr/local/include/php/Zend/zend_hash.h:105:33: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [-Wincompatible-pointer-types]
_zend_hash_init((ht), (nSize), (pDestructor), (persistent))
^~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1007:2: note: in expansion of macro 'zend_hash_init'
zend_hash_init(&dbusobj->objects, 16, NULL, dbus_registered_object_dtor, 0);
^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:100:88: note: expected 'dtor_func_t' {aka 'void (*)(struct _zval_struct *)'} but argument is of type 'void (*)(void *)'
ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent);
~~~~~~~~~~~~^~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus___construct':
/tmp/pear/temp/dbus/dbus.c:1023:19: warning: passing argument 1 of 'dbus_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), type, introspect TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:994:42: note: expected 'php_dbus_obj *' {aka 'struct _php_dbus_obj *'} but argument is of type 'int'
static int dbus_initialize(php_dbus_obj *dbusobj, int type, int introspect TSRMLS_DC)
~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusObject___construct':
/tmp/pear/temp/dbus/dbus.c:1108:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1109:26: warning: passing argument 1 of 'dbus_object_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_object_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), dbus, destination, path, interface TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1029:56: note: expected 'php_dbus_object_obj *' {aka 'struct _php_dbus_object_obj *'} but argument is of type 'int'
static int dbus_object_initialize(php_dbus_object_obj *dbusobj, php_dbus_obj *dbus, char *destination, char *path, char *interface TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:1111:24: warning: passing argument 1 of 'php_dbus_introspect' makes pointer from integer without a cast [-Wint-conversion]
php_dbus_introspect(zend_object_store_get_object(getThis() TSRMLS_CC), dbus, destination, path, interface TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1039:54: note: expected 'php_dbus_object_obj *' {aka 'struct _php_dbus_object_obj *'} but argument is of type 'int'
static void php_dbus_introspect(php_dbus_object_obj *dbusobj, php_dbus_obj* dbus, char *dest, char *path, char *interface TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus_createProxy':
/tmp/pear/temp/dbus/dbus.c:1134:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1137:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus_object = (php_dbus_object_obj *) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_accept_incoming_signal':
/tmp/pear/temp/dbus/dbus.c:1151:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
signalobj = (php_dbus_signal_obj *) zend_object_store_get_object(*return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_do_method_call':
/tmp/pear/temp/dbus/dbus.c:1182:2: error: too many arguments to function 'add_next_index_string'
add_next_index_string(callback, class, 0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:432:14: note: declared here
ZEND_API int add_next_index_string(zval *arg, const char *str);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1183:2: error: too many arguments to function 'add_next_index_string'
add_next_index_string(callback, member, 0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_API.h:432:14: note: declared here
ZEND_API int add_next_index_string(zval *arg, const char *str);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1191:75: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
zend_hash_get_current_data(params_ar, (void **) &(method_args[element])) == SUCCESS;
^
/tmp/pear/temp/dbus/dbus.c:1191:4: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
zend_hash_get_current_data(params_ar, (void **) &(method_args[element])) == SUCCESS;
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_hash_get_current_data_ex
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/tmp/pear/temp/dbus/dbus.c:1201:48: warning: passing argument 1 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, num_elems, method_args, 0, NULL TSRMLS_CC) == SUCCESS) {
^~~~~~~
/usr/local/include/php/Zend/zend_API.h:468:25: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/local/include/php/Zend/zend_API.h:463:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
~~~~~~^~~~~~
/tmp/pear/temp/dbus/dbus.c:1201:67: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, num_elems, method_args, 0, NULL TSRMLS_CC) == SUCCESS) {
^~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:468:48: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:463:78: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
~~~~~~^~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1201:91: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, num_elems, method_args, 0, NULL TSRMLS_CC) == SUCCESS) {
^~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:468:73: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/local/include/php/Zend/zend_API.h:463:117: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval ***' {aka 'struct _zval_struct ***'}
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
~~~~~^~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_accept_incoming_method_call':
/tmp/pear/temp/dbus/dbus.c:1228:39: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(&(dbus->objects), key, strlen(key) + 1, (void**) &class) == SUCCESS) {
^~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:175:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1228:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(&(dbus->objects), key, strlen(key) + 1, (void**) &class) == SUCCESS) {
^~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:175:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1232:25: warning: passing argument 1 of 'zend_lookup_class' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_lookup_class(class, strlen(class), &pce TSRMLS_CC) == SUCCESS) {
^~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_execute.h:43:28: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zend_class_entry *zend_lookup_class(zend_string *name);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1232:7: error: too many arguments to function 'zend_lookup_class'
if (zend_lookup_class(class, strlen(class), &pce TSRMLS_CC) == SUCCESS) {
^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_execute.h:43:28: note: declared here
ZEND_API zend_class_entry *zend_lookup_class(zend_string *name);
^~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1241:47: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_hash_exists(&ce->function_table, lcname, strlen(member) + 1)) {
^~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:212:88: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
static zend_always_inline zend_bool zend_hash_exists(const HashTable *ht, zend_string *key)
~~~~~~~~~~~~~^~~
/tmp/pear/temp/dbus/dbus.c:1241:9: error: too many arguments to function 'zend_hash_exists'
if (!zend_hash_exists(&ce->function_table, lcname, strlen(member) + 1)) {
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:212:37: note: declared here
static zend_always_inline zend_bool zend_hash_exists(const HashTable *ht, zend_string *key)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus_waitLoop':
/tmp/pear/temp/dbus/dbus.c:1277:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus_requestName':
/tmp/pear/temp/dbus/dbus.c:1314:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus_registerObject':
/tmp/pear/temp/dbus/dbus.c:1343:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1349:34: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_add(&(dbus->objects), key, path_len + interface_len + 2, (void*) estrdup(class), strlen(class)+1, NULL);
^~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1349:64: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_add(&(dbus->objects), key, path_len + interface_len + 2, (void*) estrdup(class), strlen(class)+1, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1349:2: error: too many arguments to function 'zend_hash_add'
zend_hash_add(&(dbus->objects), key, path_len + interface_len + 2, (void*) estrdup(class), strlen(class)+1, NULL);
^~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:121:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_append_var_php_array':
/tmp/pear/temp/dbus/dbus.c:1368:67: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
if (zend_hash_get_current_data(Z_ARRVAL_P(array), (void **)&entry) == SUCCESS) {
^
/tmp/pear/temp/dbus/dbus.c:1368:6: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
if (zend_hash_get_current_data(Z_ARRVAL_P(array), (void **)&entry) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_hash_get_current_data_ex
/tmp/pear/temp/dbus/dbus.c:1378:70: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
while (zend_hash_get_current_data(Z_ARRVAL_P(array), (void **)&entry) == SUCCESS) {
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_append_var_array':
/tmp/pear/temp/dbus/dbus.c:1407:78: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^
/tmp/pear/temp/dbus/dbus.c:1407:9: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_hash_get_current_data_ex
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_append_var_dict':
/tmp/pear/temp/dbus/dbus.c:1454:78: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^
/tmp/pear/temp/dbus/dbus.c:1454:9: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_hash_get_current_data_ex
/tmp/pear/temp/dbus/dbus.c:1455:63: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(obj->elements), &key, &key_len, &num_index, 0, NULL) == HASH_KEY_IS_STRING) {
^~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:234:94: note: expected 'zend_string **' {aka 'struct _zend_string **'} but argument is of type 'char **'
ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
~~~~~~~~~~~~~~^~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1455:69: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(obj->elements), &key, &key_len, &num_index, 0, NULL) == HASH_KEY_IS_STRING) {
^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:234:117: note: expected 'zend_ulong *' {aka 'long unsigned int *'} but argument is of type 'uint *' {aka 'unsigned int *'}
ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
~~~~~~~~~~~~^~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1455:79: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(obj->elements), &key, &key_len, &num_index, 0, NULL) == HASH_KEY_IS_STRING) {
^~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:234:142: note: expected 'HashPosition *' {aka 'unsigned int *'} but argument is of type 'ulong *' {aka 'long unsigned int *'}
ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
~~~~~~~~~~~~~~^~~
/tmp/pear/temp/dbus/dbus.c:1455:7: error: too many arguments to function 'zend_hash_get_current_key_ex'
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(obj->elements), &key, &key_len, &num_index, 0, NULL) == HASH_KEY_IS_STRING) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:234:30: note: declared here
ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_fetch_child_type':
/tmp/pear/temp/dbus/dbus.c:1479:8: error: 'IS_BOOL' undeclared (first use in this function); did you mean 'INI_BOOL'?
case IS_BOOL:
^~~~~~~
INI_BOOL
/tmp/pear/temp/dbus/dbus.c:1489:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (zend_object *) zend_object_store_get_object(child TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_fetch_child_type_as_string':
/tmp/pear/temp/dbus/dbus.c:1518:8: error: 'IS_BOOL' undeclared (first use in this function); did you mean 'INI_BOOL'?
case IS_BOOL:
^~~~~~~
INI_BOOL
/tmp/pear/temp/dbus/dbus.c:1528:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (zend_object *) zend_object_store_get_object(child TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_append_var_struct':
/tmp/pear/temp/dbus/dbus.c:1578:78: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^
/tmp/pear/temp/dbus/dbus.c:1578:9: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
while (zend_hash_get_current_data(Z_ARRVAL_P(obj->elements), (void **)&entry) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
zend_hash_get_current_data_ex
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_append_var':
/tmp/pear/temp/dbus/dbus.c:1632:10: warning: implicit declaration of function 'Z_TYPE_PP'; did you mean 'Z_TYPE_P'? [-Wimplicit-function-declaration]
switch (Z_TYPE_PP(val)) {
^~~~~~~~~
Z_TYPE_P
/tmp/pear/temp/dbus/dbus.c:1633:8: error: 'IS_BOOL' undeclared (first use in this function); did you mean 'INI_BOOL'?
case IS_BOOL:
^~~~~~~
INI_BOOL
/tmp/pear/temp/dbus/dbus.c:1636:47: warning: implicit declaration of function 'Z_LVAL_PP'; did you mean 'Z_LVAL_P'? [-Wimplicit-function-declaration]
**(dbus_bool_t**)data_copy = (dbus_bool_t) Z_LVAL_PP(val);
^~~~~~~~~
Z_LVAL_P
/tmp/pear/temp/dbus/dbus.c:1661:37: warning: implicit declaration of function 'Z_DVAL_PP'; did you mean 'Z_DVAL_P'? [-Wimplicit-function-declaration]
**(double**)data_copy = (double) Z_DVAL_PP(val);
^~~~~~~~~
Z_DVAL_P
/tmp/pear/temp/dbus/dbus.c:1665:60: warning: implicit declaration of function 'Z_STRVAL_PP'; did you mean 'Z_STRVAL_P'? [-Wimplicit-function-declaration]
dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &Z_STRVAL_PP(val));
^~~~~~~~~~~
Z_STRVAL_P
/tmp/pear/temp/dbus/dbus.c:1665:59: error: lvalue required as unary '&' operand
dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &Z_STRVAL_PP(val));
^
/tmp/pear/temp/dbus/dbus.c:1672:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
obj = (zend_object *) zend_object_store_get_object(*val TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_append_parameters':
/tmp/pear/temp/dbus/dbus.c:1725:58: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types]
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(data), (void **)&entry, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' {aka 'unsigned int *'} but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:1725:10: error: too many arguments to function 'zend_hash_get_current_data_ex'
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(data), (void **)&entry, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:237:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_to_zval':
/tmp/pear/temp/dbus/dbus.c:1769:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dictobj = (php_dbus_dict_obj*) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1784:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
arrayobj = (php_dbus_array_obj*) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1819:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
variantobj = (php_dbus_variant_obj*) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1828:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
structobj = (php_dbus_struct_obj*) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1846:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
object_pathobj = (php_dbus_object_path_obj*) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:1872:36: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
RETVAL_STRING((char*) stat, 1);
^
/tmp/pear/temp/dbus/dbus.c:1872:7: error: 'RETVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
RETVAL_STRING((char*) stat, 1);
^~~~~~~~~~~~~
ZEND_STR_STRING
/tmp/pear/temp/dbus/dbus.c: In function 'php_dbus_handle_reply':
/tmp/pear/temp/dbus/dbus.c:1917:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
set = (php_dbus_set_obj *) zend_object_store_get_object(return_value TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusObject___call':
/tmp/pear/temp/dbus/dbus.c:1953:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus_object = (php_dbus_object_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_Dbus_addWatch':
/tmp/pear/temp/dbus/dbus.c:2006:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus_object = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSignal___construct':
/tmp/pear/temp/dbus/dbus.c:2058:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dbus = (php_dbus_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2059:26: warning: passing argument 1 of 'dbus_signal_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_signal_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), dbus, object_name, interface, signal TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2030:56: note: expected 'php_dbus_signal_obj *' {aka 'struct _php_dbus_signal_obj *'} but argument is of type 'int'
static int dbus_signal_initialize(php_dbus_signal_obj *dbusobj, php_dbus_obj *dbus, char *object, char *interface, char *signal TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSignal_matches':
/tmp/pear/temp/dbus/dbus.c:2078:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
signal_obj = (php_dbus_signal_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSignal_getData':
/tmp/pear/temp/dbus/dbus.c:2095:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
signal_obj = (php_dbus_signal_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSignal_send':
/tmp/pear/temp/dbus/dbus.c:2116:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
signal_obj = (php_dbus_signal_obj *) zend_object_store_get_object(getThis() TSRMLS_CC);
^
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/tmp/pear/temp/dbus/dbus.c:2124:56: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (FAILURE == zend_get_parameters_array_ex(elements, data)) {
^~~~
/usr/local/include/php/Zend/zend_API.h:248:45: note: in definition of macro 'zend_get_parameters_array_ex'
_zend_get_parameters_array_ex(param_count, argument_array)
^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:240:67: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval ***' {aka 'struct _zval_struct ***'}
ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
~~~~~~^~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_array_get_properties':
/tmp/pear/temp/dbus/dbus.c:2171:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
array_obj = (php_dbus_array_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2177:43: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
ZVAL_STRING(sig, array_obj->signature, 1);
^
/tmp/pear/temp/dbus/dbus.c:2177:3: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'?
ZVAL_STRING(sig, array_obj->signature, 1);
^~~~~~~~~~~
ZEND_STR_LINE
/tmp/pear/temp/dbus/dbus.c:2178:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2178:40: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2178:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2181:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "array", 6, (void*)&array_obj->elements, sizeof(zval *), NULL);
^~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2181:35: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "array", 6, (void*)&array_obj->elements, sizeof(zval *), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2181:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "array", 6, (void*)&array_obj->elements, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusArray___construct':
/tmp/pear/temp/dbus/dbus.c:2197:2: warning: #warning test whether signature is present when type == struct [-Wcpp]
#warning test whether signature is present when type == struct
^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2201:25: warning: passing argument 1 of 'dbus_array_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_array_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), type, array, signature TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2155:54: note: expected 'php_dbus_array_obj *' {aka 'struct _php_dbus_array_obj *'} but argument is of type 'int'
static int dbus_array_initialize(php_dbus_array_obj *dbusobj, long type, zval *elements, char *signature TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusArray_getData':
/tmp/pear/temp/dbus/dbus.c:2216:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
array_obj = (php_dbus_array_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_dict_get_properties':
/tmp/pear/temp/dbus/dbus.c:2237:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dict_obj = (php_dbus_dict_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2243:42: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
ZVAL_STRING(sig, dict_obj->signature, 1);
^
/tmp/pear/temp/dbus/dbus.c:2243:3: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'?
ZVAL_STRING(sig, dict_obj->signature, 1);
^~~~~~~~~~~
ZEND_STR_LINE
/tmp/pear/temp/dbus/dbus.c:2244:27: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2244:40: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2244:3: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "signature", 10, (void*)&sig, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2247:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "dict", 5, (void*)&dict_obj->elements, sizeof(zval *), NULL);
^~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2247:34: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "dict", 5, (void*)&dict_obj->elements, sizeof(zval *), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2247:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "dict", 5, (void*)&dict_obj->elements, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusDict___construct':
/tmp/pear/temp/dbus/dbus.c:2265:24: warning: passing argument 1 of 'dbus_dict_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_dict_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), type, dict, signature TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2221:52: note: expected 'php_dbus_dict_obj *' {aka 'struct _php_dbus_dict_obj *'} but argument is of type 'int'
static int dbus_dict_initialize(php_dbus_dict_obj *dbusobj, long type, zval *elements, char *signature TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusDict_getData':
/tmp/pear/temp/dbus/dbus.c:2280:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dict_obj = (php_dbus_dict_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_variant_get_properties':
/tmp/pear/temp/dbus/dbus.c:2297:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
variant_obj = (php_dbus_variant_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2301:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "variant", 8, (void*)&variant_obj->data, sizeof(zval *), NULL);
^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2301:37: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "variant", 8, (void*)&variant_obj->data, sizeof(zval *), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2301:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "variant", 8, (void*)&variant_obj->data, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusVariant___construct':
/tmp/pear/temp/dbus/dbus.c:2316:27: warning: passing argument 1 of 'dbus_variant_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_variant_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), data TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2285:58: note: expected 'php_dbus_variant_obj *' {aka 'struct _php_dbus_variant_obj *'} but argument is of type 'int'
static int dbus_variant_initialize(php_dbus_variant_obj *dbusobj, zval *data TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusVariant_getData':
/tmp/pear/temp/dbus/dbus.c:2331:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
variant_obj = (php_dbus_variant_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_set_get_properties':
/tmp/pear/temp/dbus/dbus.c:2356:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
set_obj = (php_dbus_set_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2367:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "set", 4, (void*)&set_contents, sizeof(zval*), NULL);
^~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2367:33: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "set", 4, (void*)&set_contents, sizeof(zval*), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2367:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "set", 4, (void*)&set_contents, sizeof(zval*), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:37,
from /tmp/pear/temp/dbus/dbus.c:21:
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSet___construct':
/tmp/pear/temp/dbus/dbus.c:2383:56: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (SUCCESS == zend_get_parameters_array_ex(elements, data)) {
^~~~
/usr/local/include/php/Zend/zend_API.h:248:45: note: in definition of macro 'zend_get_parameters_array_ex'
_zend_get_parameters_array_ex(param_count, argument_array)
^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:240:67: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval ***' {aka 'struct _zval_struct ***'}
ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
~~~~~~^~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2384:23: warning: passing argument 1 of 'dbus_set_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_set_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), data, elements TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2336:50: note: expected 'php_dbus_set_obj *' {aka 'struct _php_dbus_set_obj *'} but argument is of type 'int'
static int dbus_set_initialize(php_dbus_set_obj *dbusobj, zval ***data, int elements TSRMLS_DC)
~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusSet_getData':
/tmp/pear/temp/dbus/dbus.c:2401:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
set_obj = (php_dbus_set_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_struct_get_properties':
/tmp/pear/temp/dbus/dbus.c:2422:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
struct_obj = (php_dbus_struct_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2426:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "struct", 7, (void*)&struct_obj->elements, sizeof(zval *), NULL);
^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2426:36: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "struct", 7, (void*)&struct_obj->elements, sizeof(zval *), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2426:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "struct", 7, (void*)&struct_obj->elements, sizeof(zval *), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusStruct___construct':
/tmp/pear/temp/dbus/dbus.c:2443:26: warning: passing argument 1 of 'dbus_struct_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_struct_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), signature, array TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2409:56: note: expected 'php_dbus_struct_obj *' {aka 'struct _php_dbus_struct_obj *'} but argument is of type 'int'
static int dbus_struct_initialize(php_dbus_struct_obj *dbusobj, char *signature, zval *elements TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusStruct_getData':
/tmp/pear/temp/dbus/dbus.c:2458:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
struct_obj = (php_dbus_struct_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c: In function 'dbus_object_path_get_properties':
/tmp/pear/temp/dbus/dbus.c:2476:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
object_path_obj = (php_dbus_object_path_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2481:44: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
ZVAL_STRING(path, object_path_obj->path, 1);
^
/tmp/pear/temp/dbus/dbus.c:2481:2: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_LINE'?
ZVAL_STRING(path, object_path_obj->path, 1);
^~~~~~~~~~~
ZEND_STR_LINE
/tmp/pear/temp/dbus/dbus.c:2483:26: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [-Wincompatible-pointer-types]
zend_hash_update(props, "path", 5, (void*)&path, sizeof(zval*), NULL);
^~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2483:34: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [-Wint-conversion]
zend_hash_update(props, "path", 5, (void*)&path, sizeof(zval*), NULL);
^
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'int'
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2483:2: error: too many arguments to function 'zend_hash_update'
zend_hash_update(props, "path", 5, (void*)&path, sizeof(zval*), NULL);
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:33,
from /tmp/pear/temp/dbus/dbus.c:21:
/usr/local/include/php/Zend/zend_hash.h:119:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData);
^~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusObjectPath___construct':
/tmp/pear/temp/dbus/dbus.c:2499:31: warning: passing argument 1 of 'dbus_object_path_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_object_path_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), path TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2463:66: note: expected 'php_dbus_object_path_obj *' {aka 'struct _php_dbus_object_path_obj *'} but argument is of type 'int'
static int dbus_object_path_initialize(php_dbus_object_path_obj *dbusobj, char *path TSRMLS_DC)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusObjectPath_getData':
/tmp/pear/temp/dbus/dbus.c:2514:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
object_path_obj = (php_dbus_object_path_obj *) zend_object_store_get_object(object TSRMLS_CC);
^
/tmp/pear/temp/dbus/dbus.c:2516:40: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
RETURN_STRING(object_path_obj->path, 1);
^
/tmp/pear/temp/dbus/dbus.c:2516:2: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_STR_STRING'?
RETURN_STRING(object_path_obj->path, 1);
^~~~~~~~~~~~~
ZEND_STR_STRING
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusByte___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_byte_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2536:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_byte_obj *' {aka 'struct _php_dbus_byte_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2536:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(unsigned char,byte,  DbusByte);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusBool___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_bool_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2537:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_bool_obj *' {aka 'struct _php_dbus_bool_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2537:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_bool_t,  bool,  DbusBool);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusInt16___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_int16_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2538:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_int16_obj *' {aka 'struct _php_dbus_int16_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2538:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int16_t, int16, DbusInt16);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusUInt16___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_uint16_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2539:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_uint16_obj *' {aka 'struct _php_dbus_uint16_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2539:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint16_t,uint16,DbusUInt16);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusInt32___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_int32_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2540:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_int32_obj *' {aka 'struct _php_dbus_int32_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2540:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int32_t, int32, DbusInt32);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusUInt32___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_uint32_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2541:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_uint32_obj *' {aka 'struct _php_dbus_uint32_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2541:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint32_t,uint32,DbusUInt32);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusInt64___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_int64_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2542:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_int64_obj *' {aka 'struct _php_dbus_int64_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2542:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_int64_t, int64, DbusInt64);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusUInt64___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_uint64_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2543:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_uint64_obj *' {aka 'struct _php_dbus_uint64_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2543:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(dbus_uint64_t,uint64,DbusUInt64);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c: In function 'zim_DbusDouble___construct':
/tmp/pear/temp/dbus/dbus.c:2531:26: warning: passing argument 1 of 'dbus_double_initialize' makes pointer from integer without a cast [-Wint-conversion]
dbus_##s##_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), (t)data TSRMLS_CC); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2544:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/dbus/dbus.c:2521:55: note: expected 'php_dbus_double_obj *' {aka 'struct _php_dbus_double_obj *'} but argument is of type 'int'
static int dbus_##s##_initialize(php_dbus_##s##_obj *dbusobj, t data TSRMLS_DC) \
~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/pear/temp/dbus/dbus.c:2544:1: note: in expansion of macro 'PHP_DBUS_INT_WRAPPER'
PHP_DBUS_INT_WRAPPER(double,       double,DbusDouble);
^~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:192: dbus.lo] Error 1
ERROR: `make' failed