много (+/-)
root@fonext:~# pecl install bbcode
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: 20170718
Zend Module Api No: 20170718
Zend Extension Api No: 320170718
building in /tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2
running: /tmp/pear/temp/bbcode/configure --with-php-config=/usr/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 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 whether cc understands -c and -o together... yes
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
checking for PHP includes... -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20170718
checking for PHP installed headers prefix... /usr/include/php/20170718
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 1.0.1 (ok)
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 how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) 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
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/libtool --mode=compile cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/bbcode/php_bbcode.c -o php_bbcode.lo
libtool: compile: cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_create, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_add_element, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_destroy, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_parse, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_add_smiley, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_set_flags, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_set_arg_parser, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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 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 from incompatible pointer type [-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: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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_NULL'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_NULL
/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);
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:108:67: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:48: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:108:79: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:73: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval *** {aka struct _zval_struct ***}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:113:5: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(zargs[i]);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:129:3: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(&retval);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
/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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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_NULL'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_NULL
/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);
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:160:67: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:48: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:160:79: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:73: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval *** {aka struct _zval_struct ***}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:165:5: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(zargs[i]);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:181:3: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(&retval);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:212:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "flags", sizeof("flags"), (void *) &e))
^~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:212:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "flags", sizeof("flags"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:213:8: warning: implicit declaration of function 'Z_TYPE_PP'; did you mean 'Z_TYPE_P'? [-Wimplicit-function-declaration]
&& (Z_TYPE_PP(e) == IS_LONG)) {
^~~~~~~~~
Z_TYPE_P
/tmp/pear/temp/bbcode/php_bbcode.c:214:12: warning: implicit declaration of function 'Z_LVAL_PP'; did you mean 'Z_LVAL_P'? [-Wimplicit-function-declaration]
flags = Z_LVAL_PP(e);
^~~~~~~~~
Z_LVAL_P
/tmp/pear/temp/bbcode/php_bbcode.c:216:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "type", sizeof("type"), (void *) &e))
^~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:216:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "type", sizeof("type"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:223:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "open_tag", sizeof("open_tag"), (void *) &e))
^~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:223:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "open_tag", sizeof("open_tag"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:224:38: warning: implicit declaration of function 'Z_STRLEN_PP'; did you mean 'Z_STRLEN_P'? [-Wimplicit-function-declaration]
&& (Z_TYPE_PP(e) == IS_STRING) && Z_STRLEN_PP(e)) {
^~~~~~~~~~~
Z_STRLEN_P
/tmp/pear/temp/bbcode/php_bbcode.c:225:14: warning: implicit declaration of function 'Z_STRVAL_PP'; did you mean 'Z_STRVAL_P'? [-Wimplicit-function-declaration]
open_tag = Z_STRVAL_PP(e);
^~~~~~~~~~~
Z_STRVAL_P
/tmp/pear/temp/bbcode/php_bbcode.c:225:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
open_tag = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:230:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "close_tag", sizeof("close_tag"), (void *) &e))
^~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:230:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "close_tag", sizeof("close_tag"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:232:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
close_tag = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:237:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "default_arg", sizeof("default_arg"), (void *) &e))
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:237:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "default_arg", sizeof("default_arg"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:239:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
default_arg = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:244:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "content_handling", sizeof("content_handling"), (void *) &e))) {
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:244:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "content_handling", sizeof("content_handling"), (void *) &e))) {
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:1035:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
zval *_zv = (zv); \
^
/tmp/pear/temp/bbcode/php_bbcode.c:246:4: note: in expansion of macro 'SEPARATE_ZVAL'
SEPARATE_ZVAL(e);
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:249:32: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*e, 0, &name)) {
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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:259:3: warning: implicit declaration of function 'ZVAL_ADDREF'; did you mean 'ZVAL_DEREF'? [-Wimplicit-function-declaration]
ZVAL_ADDREF(*content_handling);
^~~~~~~~~~~
ZVAL_DEREF
/tmp/pear/temp/bbcode/php_bbcode.c:265:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "param_handling", sizeof("param_handling"), (void *) &e))
^~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:265:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "param_handling", sizeof("param_handling"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:1035:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
zval *_zv = (zv); \
^
/tmp/pear/temp/bbcode/php_bbcode.c:268:4: note: in expansion of macro 'SEPARATE_ZVAL'
SEPARATE_ZVAL(e);
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:271:32: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*e, 0, &name)) {
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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:285:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "childs", sizeof("childs"), (void *) &e))
^~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:285:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "childs", sizeof("childs"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:287:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
childs = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:290:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "parents", sizeof("parents"), (void *) &e))
^~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:290:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "parents", sizeof("parents"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:292:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
parents = Z_STRVAL_PP(e);
^
/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: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:205: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:205: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: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_MAX_RESERVED_RESOURCES'? [-Wimplicit-function-declaration]
ZEND_REGISTER_RESOURCE(return_value, parser, le_bbcode);
^~~~~~~~~~~~~~~~~~~~~~
ZEND_MAX_RESERVED_RESOURCES
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:493:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE'; did you mean 'ZEND_FETCH_OBJ_UNSET'? [-Wimplicit-function-declaration]
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~~~~~
ZEND_FETCH_OBJ_UNSET
/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);
^~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_destroy':
/usr/include/php/20170718/Zend/zend_types.h:572:25: 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/include/php/20170718/Zend/zend_types.h:671:5: note: in definition of macro 'ZVAL_BOOL'
(b) ? IS_TRUE : IS_FALSE; \
^
/usr/include/php/20170718/Zend/zend_API.h:653:31: note: in expansion of macro 'RETVAL_BOOL'
#define RETURN_BOOL(b) { RETVAL_BOOL(b); return; }
^~~~~~~~~~~
/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/include/php/20170718/Zend/zend_types.h:573: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/include/php/20170718/Zend/zend_API.h:28:0,
from /usr/include/php/20170718/main/php.h:40,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_list.h:59:14: note: expected 'zend_resource * {aka struct _zend_resource *}' but argument is of type 'zend_long {aka long int}'
ZEND_API int 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: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: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: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: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);
^~~~~~~~~~~~~~~
Makefile:193: recipe for target 'php_bbcode.lo' failed
make: *** [php_bbcode.lo] Error 1
ERROR: `make' failed
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: 20170718
Zend Module Api No: 20170718
Zend Extension Api No: 320170718
building in /tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2
running: /tmp/pear/temp/bbcode/configure --with-php-config=/usr/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 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 whether cc understands -c and -o together... yes
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
checking for PHP includes... -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20170718
checking for PHP installed headers prefix... /usr/include/php/20170718
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 1.0.1 (ok)
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 how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) 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
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/libtool --mode=compile cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/bbcode/php_bbcode.c -o php_bbcode.lo
libtool: compile: cc -I/tmp/pear/temp/bbcode/lib -I. -I/tmp/pear/temp/bbcode -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/include -I/tmp/pear/temp/pear-build-root81H2KZ/bbcode-1.0.2/main -I/tmp/pear/temp/bbcode -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:39:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_create, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[0]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:40:33: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_add_element, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[1]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:41:29: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_destroy, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[2]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:42:27: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_parse, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[3]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:43:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_add_smiley, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[4]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:44:31: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_set_flags, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[5]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:45:36: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
PHP_FE(bbcode_set_arg_parser, NULL)
^
/usr/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:58: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: warning: excess elements in scalar initializer
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:64:23: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_FN(name) zif_##name
^
/usr/include/php/20170718/Zend/zend_API.h:70:69: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:56: note: in expansion of macro 'ZEND_FN'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:70:85: warning: excess elements in scalar initializer
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:70:85: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_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/include/php/20170718/Zend/zend_API.h:76:38: note: in expansion of macro 'ZEND_FENTRY'
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^~~~~~~~~~~
/usr/include/php/20170718/main/php.h:419: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)
^~~~~~
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:76:81: warning: excess elements in scalar initializer
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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/include/php/20170718/Zend/zend_API.h:76:81: note: (near initialization for 'bbcode_functions[6]')
#define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_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/include/php/20170718/main/php.h:419: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 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 from incompatible pointer type [-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: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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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_NULL'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_NULL
/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);
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:108:67: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:48: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:108:79: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:73: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval *** {aka struct _zval_struct ***}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:113:5: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(zargs[i]);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:129:3: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(&retval);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
/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/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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_NULL'?
ZVAL_STRINGL(*zargs[0], bdata(content), blength(content), 1);
^~~~~~~~~~~~
ZEND_STR_NULL
/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);
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c:160:67: warning: passing argument 3 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:48: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:160:79: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types]
res = call_user_function_ex(EG(function_table), NULL, *funcname, &retval, 2, zargs, 1, NULL TSRMLS_CC);
^
/usr/include/php/20170718/Zend/zend_API.h:494:73: note: in definition of macro 'call_user_function_ex'
_call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation)
^~~~~~
/usr/include/php/20170718/Zend/zend_API.h:489:14: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval *** {aka struct _zval_struct ***}'
ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:165:5: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(zargs[i]);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:37:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/bbcode/php_bbcode.c:181:3: note: in expansion of macro 'zval_ptr_dtor'
zval_ptr_dtor(&retval);
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_variables.h:79:15: 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 ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:212:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "flags", sizeof("flags"), (void *) &e))
^~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:212:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "flags", sizeof("flags"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:213:8: warning: implicit declaration of function 'Z_TYPE_PP'; did you mean 'Z_TYPE_P'? [-Wimplicit-function-declaration]
&& (Z_TYPE_PP(e) == IS_LONG)) {
^~~~~~~~~
Z_TYPE_P
/tmp/pear/temp/bbcode/php_bbcode.c:214:12: warning: implicit declaration of function 'Z_LVAL_PP'; did you mean 'Z_LVAL_P'? [-Wimplicit-function-declaration]
flags = Z_LVAL_PP(e);
^~~~~~~~~
Z_LVAL_P
/tmp/pear/temp/bbcode/php_bbcode.c:216:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "type", sizeof("type"), (void *) &e))
^~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:216:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "type", sizeof("type"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:223:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "open_tag", sizeof("open_tag"), (void *) &e))
^~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:223:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "open_tag", sizeof("open_tag"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:224:38: warning: implicit declaration of function 'Z_STRLEN_PP'; did you mean 'Z_STRLEN_P'? [-Wimplicit-function-declaration]
&& (Z_TYPE_PP(e) == IS_STRING) && Z_STRLEN_PP(e)) {
^~~~~~~~~~~
Z_STRLEN_P
/tmp/pear/temp/bbcode/php_bbcode.c:225:14: warning: implicit declaration of function 'Z_STRVAL_PP'; did you mean 'Z_STRVAL_P'? [-Wimplicit-function-declaration]
open_tag = Z_STRVAL_PP(e);
^~~~~~~~~~~
Z_STRVAL_P
/tmp/pear/temp/bbcode/php_bbcode.c:225:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
open_tag = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:230:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "close_tag", sizeof("close_tag"), (void *) &e))
^~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:230:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "close_tag", sizeof("close_tag"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:232:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
close_tag = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:237:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "default_arg", sizeof("default_arg"), (void *) &e))
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:237:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "default_arg", sizeof("default_arg"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:239:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
default_arg = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:244:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "content_handling", sizeof("content_handling"), (void *) &e))) {
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:244:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "content_handling", sizeof("content_handling"), (void *) &e))) {
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:1035:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
zval *_zv = (zv); \
^
/tmp/pear/temp/bbcode/php_bbcode.c:246:4: note: in expansion of macro 'SEPARATE_ZVAL'
SEPARATE_ZVAL(e);
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:247:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:249:32: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*e, 0, &name)) {
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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:259:3: warning: implicit declaration of function 'ZVAL_ADDREF'; did you mean 'ZVAL_DEREF'? [-Wimplicit-function-declaration]
ZVAL_ADDREF(*content_handling);
^~~~~~~~~~~
ZVAL_DEREF
/tmp/pear/temp/bbcode/php_bbcode.c:265:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "param_handling", sizeof("param_handling"), (void *) &e))
^~~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:265:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "param_handling", sizeof("param_handling"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:1035:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
zval *_zv = (zv); \
^
/tmp/pear/temp/bbcode/php_bbcode.c:268:4: note: in expansion of macro 'SEPARATE_ZVAL'
SEPARATE_ZVAL(e);
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:375:6: note: in expansion of macro 'Z_TYPE_P'
if (Z_TYPE_P(pzv)!=upper_type) { \
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:399:39: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [-Wincompatible-pointer-types]
#define Z_TYPE(zval) zval_get_type(&(zval))
^
/usr/include/php/20170718/Zend/zend_types.h:400:28: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*(zval_p))
^~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:281:35: note: in expansion of macro 'Z_TYPE_P'
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_types.h:389:38: note: expected 'const zval * {aka const struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
^~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:328:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_operators.h:281:83: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [-Wincompatible-pointer-types]
#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op) ZEND_FILE_LINE_CC); }
^
/usr/include/php/20170718/Zend/zend_operators.h:376:3: note: in expansion of macro 'convert_to_string'
convert_to_##lower_type(pzv); \
^~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:417: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:269:4: note: in expansion of macro 'convert_to_string_ex'
convert_to_string_ex(e);
^~~~~~~~~~~~~~~~~~~~
/usr/include/php/20170718/Zend/zend_operators.h:250:29: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:271:32: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [-Wincompatible-pointer-types]
if (!zend_is_callable(*e, 0, &name)) {
^
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_API.h:329:20: 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:285:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "childs", sizeof("childs"), (void *) &e))
^~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:285:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "childs", sizeof("childs"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:287:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
childs = Z_STRVAL_PP(e);
^
/tmp/pear/temp/bbcode/php_bbcode.c:290:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if ((SUCCESS == zend_hash_find(ht, "parents", sizeof("parents"), (void *) &e))
^~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:290:18: error: too many arguments to function 'zend_hash_find'
if ((SUCCESS == zend_hash_find(ht, "parents", sizeof("parents"), (void *) &e))
^~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:168:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^~~~~~~~~~~~~~
/tmp/pear/temp/bbcode/php_bbcode.c:292:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
parents = Z_STRVAL_PP(e);
^
/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: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202:30: 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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:202: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:205: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/include/php/20170718/Zend/zend.h:34:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_hash.h:205: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: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_MAX_RESERVED_RESOURCES'? [-Wimplicit-function-declaration]
ZEND_REGISTER_RESOURCE(return_value, parser, le_bbcode);
^~~~~~~~~~~~~~~~~~~~~~
ZEND_MAX_RESERVED_RESOURCES
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:493:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE'; did you mean 'ZEND_FETCH_OBJ_UNSET'? [-Wimplicit-function-declaration]
ZEND_FETCH_RESOURCE(parser, bbcode_parser_p, &z_bbcode_parser, -1, PHP_BBCODE_RES_NAME, le_bbcode);
^~~~~~~~~~~~~~~~~~~
ZEND_FETCH_OBJ_UNSET
/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);
^~~~~~~~~~~~~~~
In file included from /usr/include/php/20170718/Zend/zend.h:29:0,
from /usr/include/php/20170718/main/php.h:36,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/tmp/pear/temp/bbcode/php_bbcode.c: In function 'zif_bbcode_destroy':
/usr/include/php/20170718/Zend/zend_types.h:572:25: 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/include/php/20170718/Zend/zend_types.h:671:5: note: in definition of macro 'ZVAL_BOOL'
(b) ? IS_TRUE : IS_FALSE; \
^
/usr/include/php/20170718/Zend/zend_API.h:653:31: note: in expansion of macro 'RETVAL_BOOL'
#define RETURN_BOOL(b) { RETVAL_BOOL(b); return; }
^~~~~~~~~~~
/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/include/php/20170718/Zend/zend_types.h:573: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/include/php/20170718/Zend/zend_API.h:28:0,
from /usr/include/php/20170718/main/php.h:40,
from /tmp/pear/temp/bbcode/php_bbcode.c:24:
/usr/include/php/20170718/Zend/zend_list.h:59:14: note: expected 'zend_resource * {aka struct _zend_resource *}' but argument is of type 'zend_long {aka long int}'
ZEND_API int 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: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: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: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: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);
^~~~~~~~~~~~~~~
Makefile:193: recipe for target 'php_bbcode.lo' failed
make: *** [php_bbcode.lo] Error 1
ERROR: `make' failed