php-ext.com / bbcode (from pecl using PHP 8.0.5-buster)

Dockerfile
FROM php:8.0.5-buster
WORKDIR /tmp
RUN apt update && \
    apt install -y --no-install-recommends git subversion autoconf build-essential && \
    rm -rf /var/lib/apt/lists/*
RUN pecl install --force bbcode && \
    pecl run-tests bbcode
Build output FAIL 9ss
Step 1/4 : FROM php:8.0.5-buster
---> 9d3d64fb1730
Step 2/4 : WORKDIR /tmp
---> Running in 70a69662db18
Removing intermediate container 70a69662db18
---> be82b0ffc5cc
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && rm -rf /var/lib/apt/lists/*
---> Running in 73e633455211


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


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


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




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

Fetched 10.7 MB in 0s (86.6 MB/s)
Selecting previously unselected package build-essential.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
12690 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../01-libcurl3-gnutls_7.64.0-4+deb10u2_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../02-libexpat1_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../03-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../04-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../05-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../06-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../07-libapr1_1.6.5-1+b1_amd64.deb ...
Unpacking libapr1:amd64 (1.6.5-1+b1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../08-libaprutil1_1.6.1-4_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.1-4) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../09-libserf-1-1_1.3.9-7+b10_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-7+b10) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../10-libutf8proc2_2.3.0-1_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.3.0-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../11-libsvn1_1.10.4-1+deb10u2_amd64.deb ...
Unpacking libsvn1:amd64 (1.10.4-1+deb10u2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../12-subversion_1.10.4-1+deb10u2_amd64.deb ...
Unpacking subversion (1.10.4-1+deb10u2) ...
Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...
Setting up libutf8proc2:amd64 (2.3.0-1) ...
Setting up libapr1:amd64 (1.6.5-1+b1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Setting up liberror-perl (0.17027-2) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up build-essential (12.6) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libaprutil1:amd64 (1.6.1-4) ...
Setting up libserf-1-1:amd64 (1.3.9-7+b10) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libsvn1:amd64 (1.10.4-1+deb10u2) ...
Setting up subversion (1.10.4-1+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 73e633455211
---> 23561fe3c3ca
Step 4/4 : RUN pecl install --force bbcode && pecl run-tests bbcode
---> Running in 7ab3da4a6886
downloading bbcode-1.0.2.tgz ...
Starting to download bbcode-1.0.2.tgz (46,961 bytes)
.
.
.
.
.
.
.
.
.
.
...done: 46,961 bytes
7 source files, building
running: phpize
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
building in /tmp/pear/temp/pear-build-defaultuserFm6fmY/bbcode-1.0.2
running: /tmp/pear/temp/bbcode/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-non-zts-20200930
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable C based BBCode support... yes, shared
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-defaultuserFm6fmY/bbcode-1.0.2/libtool --mode=compile cc -I. -I/tmp/pear/temp/bbcode -I/tmp/pear/temp/pear-build-defaultuserFm6fmY/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-defaultuserFm6fmY/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -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  -DHAVE_CONFIG_H  -g -O2   -I/tmp/pear/temp/bbcode/lib -c /tmp/pear/temp/bbcode/php_bbcode.c -o php_bbcode.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/bbcode -I/tmp/pear/temp/pear-build-defaultuserFm6fmY/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-defaultuserFm6fmY/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -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 -DHAVE_CONFIG_H -g -O2 -I/tmp/pear/temp/bbcode/lib -c /tmp/pear/temp/bbcode/php_bbcode.c  -fPIC -DPIC -o .libs/php_bbcode.o
/tmp/pear/temp/bbcode/php_bbcode.c:38:8: error: unknown type name 'function_entry'
static function_entry bbcode_functions[] = {
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: braces around scalar initializer
PHP_FE(bbcode_create, NULL)
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: (near initialization for 'bbcode_functions[0]')
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_create, NULL)
^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: note: (near initialization for 'bbcode_functions[0]')
PHP_FE(bbcode_create, NULL)
^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: error: initializer element is not computable at load time
PHP_FE(bbcode_create, NULL)
^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: note: (near initialization for 'bbcode_functions[0]')
PHP_FE(bbcode_create, NULL)
^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
#define PHP_FE   ZEND_FE
^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
PHP_FE(bbcode_create, NULL)
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: (near initialization for 'bbcode_functions[0]')
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_create, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[0]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_create, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_create, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[0]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:39:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_create, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: braces around scalar initializer
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: (near initialization for 'bbcode_functions[1]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_add_element, NULL)
                                 ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: note: (near initialization for 'bbcode_functions[1]')
  PHP_FE(bbcode_add_element, NULL)
                                 ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: error: initializer element is not computable at load time
  PHP_FE(bbcode_add_element, NULL)
                                 ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: note: (near initialization for 'bbcode_functions[1]')
  PHP_FE(bbcode_add_element, NULL)
                                 ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[1]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: (near initialization for 'bbcode_functions[1]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[1]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[1]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:40:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_element, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: braces around scalar initializer
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: (near initialization for 'bbcode_functions[2]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_destroy, NULL)
                             ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: note: (near initialization for 'bbcode_functions[2]')
  PHP_FE(bbcode_destroy, NULL)
                             ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: error: initializer element is not computable at load time
  PHP_FE(bbcode_destroy, NULL)
                             ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: note: (near initialization for 'bbcode_functions[2]')
  PHP_FE(bbcode_destroy, NULL)
                             ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[2]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: (near initialization for 'bbcode_functions[2]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[2]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[2]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:41:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_destroy, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: braces around scalar initializer
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: (near initialization for 'bbcode_functions[3]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_parse, NULL)
                           ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: note: (near initialization for 'bbcode_functions[3]')
  PHP_FE(bbcode_parse, NULL)
                           ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: error: initializer element is not computable at load time
  PHP_FE(bbcode_parse, NULL)
                           ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: note: (near initialization for 'bbcode_functions[3]')
  PHP_FE(bbcode_parse, NULL)
                           ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[3]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: (near initialization for 'bbcode_functions[3]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[3]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[3]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_parse, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: braces around scalar initializer
PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: (near initialization for 'bbcode_functions[4]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_add_smiley, NULL)
                                ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: note: (near initialization for 'bbcode_functions[4]')
PHP_FE(bbcode_add_smiley, NULL)
                                ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: error: initializer element is not computable at load time
  PHP_FE(bbcode_add_smiley, NULL)
                                ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: note: (near initialization for 'bbcode_functions[4]')
  PHP_FE(bbcode_add_smiley, NULL)
                                ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[4]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: (near initialization for 'bbcode_functions[4]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[4]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[4]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_add_smiley, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: braces around scalar initializer
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: (near initialization for 'bbcode_functions[5]')
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_set_flags, NULL)
                               ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: note: (near initialization for 'bbcode_functions[5]')
  PHP_FE(bbcode_set_flags, NULL)
                               ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: error: initializer element is not computable at load time
PHP_FE(bbcode_set_flags, NULL)
                               ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: note: (near initialization for 'bbcode_functions[5]')
  PHP_FE(bbcode_set_flags, NULL)
                               ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[5]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: (near initialization for 'bbcode_functions[5]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[5]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[5]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_flags, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: braces around scalar initializer
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: (near initialization for 'bbcode_functions[6]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  PHP_FE(bbcode_set_arg_parser, NULL)
                                    ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: note: (near initialization for 'bbcode_functions[6]')
  PHP_FE(bbcode_set_arg_parser, NULL)
                                    ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: error: initializer element is not computable at load time
PHP_FE(bbcode_set_arg_parser, NULL)
                                    ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: note: (near initialization for 'bbcode_functions[6]')
  PHP_FE(bbcode_set_arg_parser, NULL)
                                    ^
/usr/local/include/php/Zend/zend_API.h:77:63: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                               ^~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:61: note: (near initialization for 'bbcode_functions[6]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                             ^~~~
/usr/local/include/php/Zend/zend_API.h:77:74: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                          ^~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: warning: excess elements in scalar initializer
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: (near initialization for 'bbcode_functions[6]')
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:77:90: warning: excess elements in scalar initializer
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:77:90: note: (near initialization for 'bbcode_functions[6]')
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:83:38: note: in expansion of macro 'ZEND_RAW_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                      ^~~~~~~~~~~~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: warning: excess elements in scalar initializer
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
                                                                                   ^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/usr/local/include/php/Zend/zend_API.h:83:83: note: (near initialization for 'bbcode_functions[6]')
 #define ZEND_FE(name, arg_info)      ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
^
/usr/local/include/php/Zend/zend_API.h:77:162: note: in definition of macro 'ZEND_RAW_FENTRY'
 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags)   { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                                                  ^~~~~
/usr/local/include/php/main/php.h:384:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(bbcode_set_arg_parser, NULL)
  ^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: warning: braces around scalar initializer
  {NULL, NULL, NULL}
  ^
/tmp/pear/temp/bbcode/php_bbcode.c:46:2: note: (near initialization for 'bbcode_functions[7]')
/tmp/pear/temp/bbcode/php_bbcode.c:46:3: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
{NULL, NULL, NULL}
   ^~~~
/tmp/pear/temp/bbcode/php_bbcode.c:46:3: note: (near initialization for 'bbcode_functions[7]')
/tmp/pear/temp/bbcode/php_bbcode.c:46:9: warning: excess elements in scalar initializer
  {NULL, NULL, NULL}
         ^~~~
/tmp/pear/temp/bbcode/php_bbcode.c:46:9: note: (near initialization for 'bbcode_functions[7]')
/tmp/pear/temp/bbcode/php_bbcode.c:46:15: warning: excess elements in scalar initializer
  {NULL, NULL, NULL}
               ^~~~
/tmp/pear/temp/bbcode/php_bbcode.c:46:15: note: (near initialization for 'bbcode_functions[7]')
/tmp/pear/temp/bbcode/php_bbcode.c:65:2: warning: initialization of 'const struct _zend_function_entry *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
bbcode_functions,
  ^~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:65:2: note: (near initialization for 'bbcode_module_entry.functions')
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_handling_content':
/tmp/pear/temp/bbcode/php_bbcode.c:90:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration]
TSRMLS_FETCH();
^~~~~~~~~~~~
TSRMLS_CACHE
/tmp/pear/temp/bbcode/php_bbcode.c:92:38: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*funcname, 0, &callable)) {
^~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:359:89: note: expected 'zend_string **' {aka 'struct _zend_string **'} but argument is of type 'char **'
ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name);
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:102:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration]
MAKE_STD_ZVAL(*zargs[0]);
^~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:103:61: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^
/tmp/pear/temp/bbcode/php_bbcode.c:103:2: error: 'ZVAL_STRINGL' undeclared (first use in this function); did you mean 'ZEND_STR_INT'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_INT
/tmp/pear/temp/bbcode/php_bbcode.c:103:2: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/bbcode/php_bbcode.c:106:57: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(*zargs[1], bdata(param), blength(param), 1);
^
/tmp/pear/temp/bbcode/php_bbcode.c:108:8: warning: implicit declaration of function 'call_user_function_ex'; did you mean 'call_user_function'? [-Wimplicit-function-declaration]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~
call_user_function
/tmp/pear/temp/bbcode/php_bbcode.c:108:94: error: expected ')' before 'TSRMLS_CC'
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:113:24: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
zval_ptr_dtor(zargs[i]);
~~~~~^~~
In file included from /usr/local/include/php/Zend/zend.h:36,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/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);
~~~~~~^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_types.h:562:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval)    zval_get_type(&(zval))
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:563:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
^~~~~~
/usr/local/include/php/Zend/zend_operators.h:448:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) {     \
^~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:123:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:552:64: note: expected 'const zval *' {aka 'const struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
~~~~~~~~~~~~^~
/usr/local/include/php/Zend/zend_types.h:562:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval)    zval_get_type(&(zval))
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:563:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
^~~~~~
/usr/local/include/php/Zend/zend_operators.h:341:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
^~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:449:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv);      \
^~~~~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:123:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:552:64: note: expected 'const zval *' {aka 'const struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
~~~~~~~~~~~~^~
In file included from /usr/local/include/php/Zend/zend.h:357,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:123:24: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
convert_to_string_ex(&retval);
/usr/local/include/php/Zend/zend_operators.h:341:84: note: in definition of macro 'convert_to_string'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
^~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:123:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:262:54: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op);
~~~~~~^~
/tmp/pear/temp/bbcode/php_bbcode.c:129:17: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
zval_ptr_dtor(&retval);
^~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:36,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/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/bbcode/php_bbcode.c: In function '_php_bbcode_handling_param':
/tmp/pear/temp/bbcode/php_bbcode.c:144:38: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*funcname, 0, &callable)) {
^~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:359:89: note: expected 'zend_string **' {aka 'struct _zend_string **'} but argument is of type 'char **'
ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name);
~~~~~~~~~~~~~~^~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:155:61: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^
/tmp/pear/temp/bbcode/php_bbcode.c:155:2: error: 'ZVAL_STRINGL' undeclared (first use in this function); did you mean 'ZEND_STR_INT'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_INT
/tmp/pear/temp/bbcode/php_bbcode.c:158:57: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(*zargs[1], bdata(param), blength(param), 1);
^
/tmp/pear/temp/bbcode/php_bbcode.c:160:94: error: expected ')' before 'TSRMLS_CC'
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:165:24: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
zval_ptr_dtor(zargs[i]);
~~~~~^~~
In file included from /usr/local/include/php/Zend/zend.h:36,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/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);
~~~~~~^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_types.h:562:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval)    zval_get_type(&(zval))
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:563:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
^~~~~~
/usr/local/include/php/Zend/zend_operators.h:448:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) {     \
^~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:175:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:552:64: note: expected 'const zval *' {aka 'const struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
~~~~~~~~~~~~^~
/usr/local/include/php/Zend/zend_types.h:562:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval)    zval_get_type(&(zval))
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:563:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p)   Z_TYPE(*(zval_p))
^~~~~~
/usr/local/include/php/Zend/zend_operators.h:341:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
^~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:449:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv);      \
^~~~~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:175:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:552:64: note: expected 'const zval *' {aka 'const struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
~~~~~~~~~~~~^~
In file included from /usr/local/include/php/Zend/zend.h:357,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:175:24: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
convert_to_string_ex(&retval);
/usr/local/include/php/Zend/zend_operators.h:341:84: note: in definition of macro 'convert_to_string'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
^~
/usr/local/include/php/Zend/zend_operators.h:496:35: note: in expansion of macro 'convert_to_ex_master'
#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:175:3: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(&retval);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_operators.h:262:54: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 'struct _zval_struct **'}
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op);
~~~~~~^~
/tmp/pear/temp/bbcode/php_bbcode.c:181:17: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
zval_ptr_dtor(&retval);
^~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:36,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/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/bbcode/php_bbcode.c: At top level:
/tmp/pear/temp/bbcode/php_bbcode.c:189:91: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static void _php_bbcode_add_element(bbcode_parser_p parser, char *tag_name, zval *content TSRMLS_DC) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'php_bbcode_dtor':
/tmp/pear/temp/bbcode/php_bbcode.c:309:47: error: 'rsrc' undeclared (first use in this function)
bbcode_parser_p parser = (bbcode_parser_p)rsrc->ptr;
^~~~
/tmp/pear/temp/bbcode/php_bbcode.c:309:51: error: request for member 'ptr' in something not a structure or union
bbcode_parser_p parser = (bbcode_parser_p)rsrc->ptr;
^~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_create':
/tmp/pear/temp/bbcode/php_bbcode.c:412:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &bbcode_entry) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:412:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &bbcode_entry) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:412:76: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &bbcode_entry) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:442:53: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
^~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:232: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/bbcode/php_bbcode.c:442:59: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
^~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:232: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/bbcode/php_bbcode.c:442:69: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
^~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:232: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/bbcode/php_bbcode.c:442:18: error: too many arguments to function 'zend_hash_get_current_key_ex'
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:232: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/bbcode/php_bbcode.c:443:23: error: 'HASH_KEY_NON_EXISTANT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTENT'?
if (i == HASH_KEY_NON_EXISTANT)
^~~~~~~~~~~~~~~~~~~~~
HASH_KEY_NON_EXISTENT
/tmp/pear/temp/bbcode/php_bbcode.c:443:20: warning: comparison between pointer and integer
if (i == HASH_KEY_NON_EXISTANT)
^~
/tmp/pear/temp/bbcode/php_bbcode.c:446:54: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_get_current_data_ex(myht, (void **) &data, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:235: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/bbcode/php_bbcode.c:446:18: error: too many arguments to function 'zend_hash_get_current_data_ex'
if (zend_hash_get_current_data_ex(myht, (void **) &data, &pos) == SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:33,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_hash.h:235:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:449:28: error: 'HashTable' {aka 'struct _zend_array'} has no member named 'nApplyCount'
tmp_ht->nApplyCount++;
^~
/tmp/pear/temp/bbcode/php_bbcode.c:449:41: error: lvalue required as increment operand
tmp_ht->nApplyCount++;
^~
/tmp/pear/temp/bbcode/php_bbcode.c:453:22: warning: implicit declaration of function '_php_bbcode_add_element'; did you mean 'zif_bbcode_add_element'? [-Wimplicit-function-declaration]
_php_bbcode_add_element(parser,key,*data TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~
zif_bbcode_add_element
/tmp/pear/temp/bbcode/php_bbcode.c:453:62: error: expected ')' before 'TSRMLS_CC'
_php_bbcode_add_element(parser,key,*data TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/bbcode/php_bbcode.c:456:29: error: 'HashTable' {aka 'struct _zend_array'} has no member named 'nApplyCount'
tmp_ht->nApplyCount--;
^~
/tmp/pear/temp/bbcode/php_bbcode.c:456:42: error: lvalue required as decrement operand
tmp_ht->nApplyCount--;
^~
/tmp/pear/temp/bbcode/php_bbcode.c:463:5: warning: implicit declaration of function 'ZEND_REGISTER_RESOURCE'; did you mean 'ZEND_REF_FIRST_SOURCE'? [-Wimplicit-function-declaration]
ZEND_REGISTER_RESOURCE(return_value, parser, le_bbcode);
^~~~~~~~~~~~~~~~~~~~~~
ZEND_REF_FIRST_SOURCE
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:490:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsa", &z_bbcode_parser, &tag_name, &tag_len, &bbcode_entry) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:490:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsa", &z_bbcode_parser, &tag_name, &tag_len, &bbcode_entry) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:490:116: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsa", &z_bbcode_parser, &tag_name, &tag_len, &bbcode_entry) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:493:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE'; did you mean 'ZEND_FETCH_LIST_R'? [-Wimplicit-function-declaration]
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~~~~~
ZEND_FETCH_LIST_R
/tmp/pear/temp/bbcode/php_bbcode.c:493:30: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:494:56: error: expected ')' before 'TSRMLS_CC'
_php_bbcode_add_element(parser, tag_name, bbcode_entry TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_destroy':
/tmp/pear/temp/bbcode/php_bbcode.c:504:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_bbcode_parser) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:504:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_bbcode_parser) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:504:78: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_bbcode_parser) == FAILURE) {
^~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_types.h:795:37: warning: passing argument 1 of 'zend_list_delete' makes pointer from integer without a cast [-Wint-conversion]
#define Z_LVAL(zval)    (zval).value.lval
~~~~~~~~~~~~^~~~~
/usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
(b) ? IS_TRUE : IS_FALSE; \
^
/usr/local/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
#define RETURN_BOOL(b)     do { RETVAL_BOOL(b); return; } while (0)
^~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:508:2: note: in expansion of macro 'RETURN_BOOL'
RETURN_BOOL(zend_list_delete(Z_LVAL_P(z_bbcode_parser)) == SUCCESS);
^~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:796:28: note: in expansion of macro 'Z_LVAL'
#define Z_LVAL_P(zval_p)   Z_LVAL(*(zval_p))
^~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:508:31: note: in expansion of macro 'Z_LVAL_P'
RETURN_BOOL(zend_list_delete(Z_LVAL_P(z_bbcode_parser)) == SUCCESS);
^~~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:26,
from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_list.h:57:60: note: expected 'zend_resource *' {aka 'struct _zend_resource *'} but argument is of type 'zend_long' {aka 'long int'}
ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
~~~~~~~~~~~~~~~^~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_parse':
/tmp/pear/temp/bbcode/php_bbcode.c:522:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_bbcode_parser, &string, &str_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:522:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_bbcode_parser, &string, &str_len) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:522:98: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_bbcode_parser, &string, &str_len) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:525:30: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:529:41: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2
RETVAL_STRINGL(ret_string, ret_size , 1);
^
/tmp/pear/temp/bbcode/php_bbcode.c:529:2: error: 'RETVAL_STRINGL' undeclared (first use in this function)
RETVAL_STRINGL(ret_string, ret_size , 1);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_add_smiley':
/tmp/pear/temp/bbcode/php_bbcode.c:542:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_bbcode_parser, &search, &s_len, &replace, &r_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:542:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_bbcode_parser, &search, &s_len, &replace, &r_len) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:542:115: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_bbcode_parser, &search, &s_len, &replace, &r_len) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:546:30: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_set_flags':
/tmp/pear/temp/bbcode/php_bbcode.c:562:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &z_bbcode_parser, &new_flags, &mode) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:562:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &z_bbcode_parser, &new_flags, &mode) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:562:100: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &z_bbcode_parser, &new_flags, &mode) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:566:30: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_set_arg_parser':
/tmp/pear/temp/bbcode/php_bbcode.c:597:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_bbcode_parser, &z_bbcode_parser_child) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:597:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_bbcode_parser, &z_bbcode_parser_child) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:597:103: warning: comparison between pointer and integer
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_bbcode_parser, &z_bbcode_parser_child) == FAILURE) {
^~
/tmp/pear/temp/bbcode/php_bbcode.c:600:30: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:601:34: error: expected expression before 'bbcode_parser_p'
ZEND_FETCH_RESOURCE(arg_parser, bbcode_parser_p, &z_bbcode_parser_child, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~
make: *** [Makefile:208: php_bbcode.lo] Error 1
ERROR: `make' failed