php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74683 error compiled
Submitted: 2017-05-31 17:02 UTC Modified: 2017-06-01 03:04 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hiser at mail dot ru Assigned:
Status: Suspended Package: bcompiler (PECL)
PHP Version: 7.1.5 OS: 14.04.1-Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-05-31 17:02 UTC] hiser at mail dot ru
Description:
------------
sudo pecl install bcompiler

Actual result:
--------------
downloading bcompiler-1.0.2.tgz ...
Starting to download bcompiler-1.0.2.tgz (57,347 bytes)
..............done: 57,347 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
building in /tmp/pear/temp/pear-build-rootA1lp2c/bcompiler-1.0.2
running: /tmp/pear/temp/bcompiler/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-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20160303
checking for PHP installed headers prefix... /usr/include/php/20160303
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable bcompiler support... yes, shared
checking whether to include debug code in bcompiler (default: no)... no
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-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) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
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-rootA1lp2c/bcompiler-1.0.2/libtool --mode=compile cc  -I. -I/tmp/pear/temp/bcompiler -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootA1lp2c/bcompiler-1.0.2/include -I/tmp/pear/temp/pear-build-rootA1lp2c/bcompiler-1.0.2/main -I/tmp/pear/temp/bcompiler -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/bcompiler/php_bcompiler.c -o php_bcompiler.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/bcompiler -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootA1lp2c/bcompiler-1.0.2/include -I/tmp/pear/temp/pear-build-rootA1lp2c/bcompiler-1.0.2/main -I/tmp/pear/temp/bcompiler -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/bcompiler/php_bcompiler.c  -fPIC -DPIC -o .libs/php_bcompiler.o
In file included from /usr/include/php/20160303/main/php_ini.h:24:0,
                 from /usr/include/php/20160303/main/fopen_wrappers.h:26,
                 from /usr/include/php/20160303/main/php.h:408,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/tmp/pear/temp/bcompiler/php_bcompiler.c:149:56: error: 'OnUpdateInt' undeclared here (not in a function)
 STD_PHP_INI_ENTRY("bcompiler.debug", "0", PHP_INI_ALL, OnUpdateInt, debug_lvl, zend_bcompiler_globals, bcompiler_globals)
                                                        ^
/usr/include/php/20160303/Zend/zend_ini.h:100:10: note: in definition of macro 'ZEND_INI_ENTRY3_EX'
  { name, on_modify, arg1, arg2, arg3, default_value, displayer, modifiable, sizeof(name)-1, sizeof(default_value)-1 },
          ^
/usr/include/php/20160303/Zend/zend_ini.h:109:2: note: in expansion of macro 'ZEND_INI_ENTRY2_EX'
  ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL)
  ^
/usr/include/php/20160303/Zend/zend_ini.h:132:2: note: in expansion of macro 'ZEND_INI_ENTRY2'
  ZEND_INI_ENTRY2(name, default_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &struct_ptr)
  ^
/usr/include/php/20160303/main/php_ini.h:68:28: note: in expansion of macro 'STD_ZEND_INI_ENTRY'
 #define STD_PHP_INI_ENTRY  STD_ZEND_INI_ENTRY
                            ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:149:1: note: in expansion of macro 'STD_PHP_INI_ENTRY'
 STD_PHP_INI_ENTRY("bcompiler.debug", "0", PHP_INI_ALL, OnUpdateInt, debug_lvl, zend_bcompiler_globals, bcompiler_globals)
 ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zm_startup_bcompiler':
/tmp/pear/temp/bcompiler/php_bcompiler.c:199:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
   if (zend_hash_find(&module_registry, "apc", sizeof("apc"), (void**)&apc_lookup) != FAILURE &&
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:199:3: error: too many arguments to function 'zend_hash_find'
   if (zend_hash_find(&module_registry, "apc", sizeof("apc"), (void**)&apc_lookup) != FAILURE &&
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:199:83: warning: comparison between pointer and integer [enabled by default]
   if (zend_hash_find(&module_registry, "apc", sizeof("apc"), (void**)&apc_lookup) != FAILURE &&
                                                                                   ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:200:4: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
    zend_hash_find(EG(zend_constants), "\000apc_magic", 11, (void**)&apc_magic) != FAILURE) {
    ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:200:4: error: too many arguments to function 'zend_hash_find'
    zend_hash_find(EG(zend_constants), "\000apc_magic", 11, (void**)&apc_magic) != FAILURE) {
    ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:200:80: warning: comparison between pointer and integer [enabled by default]
    zend_hash_find(EG(zend_constants), "\000apc_magic", 11, (void**)&apc_magic) != FAILURE) {
                                                                                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zm_deactivate_bcompiler':
/tmp/pear/temp/bcompiler/php_bcompiler.c:257:3: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
   if (BCOMPILERG(filename_handler_name)) zval_ptr_dtor(&BCOMPILERG(filename_handler_name));
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:261:3: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
   if (BCOMPILERG(filename_handler)) zval_ptr_dtor(&BCOMPILERG(filename_handler));
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_class':
/tmp/pear/temp/bcompiler/php_bcompiler.c:319:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:326:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
  if (SUCCESS != zend_hash_find(EG(class_table), class_name, class_len+1, (void **)&ce))
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:326:2: error: too many arguments to function 'zend_hash_find'
  if (SUCCESS != zend_hash_find(EG(class_table), class_name, class_len+1, (void **)&ce))
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:335:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
   if (SUCCESS != zend_hash_find(EG(class_table), extends_name, extends_len+1, (void **)&cee)) {
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:335:3: error: too many arguments to function 'zend_hash_find'
   if (SUCCESS != zend_hash_find(EG(class_table), extends_name, extends_len+1, (void **)&cee)) {
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_included_filename':
/tmp/pear/temp/bcompiler/php_bcompiler.c:368:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_function':
/tmp/pear/temp/bcompiler/php_bcompiler.c:395:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:399:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
  zend_hash_find(CG(function_table), function_name, function_len+1, (void **)&fe);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:399:2: error: too many arguments to function 'zend_hash_find'
  zend_hash_find(CG(function_table), function_name, function_len+1, (void **)&fe);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_constant':
/tmp/pear/temp/bcompiler/php_bcompiler.c:429:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:431:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
  zend_hash_find(EG(zend_constants), constant_name, constant_len + 1, (void **)&zc);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:431:2: error: too many arguments to function 'zend_hash_find'
  zend_hash_find(EG(zend_constants), constant_name, constant_len + 1, (void **)&zc);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function '_bcompiler_write_functions_from_file':
/tmp/pear/temp/bcompiler/php_bcompiler.c:456:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (zend_hash_get_current_data_ex(EG(function_table), (void **)&zf, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: expected 'HashPosition *' but argument is of type 'void **'
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:456:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (zend_hash_get_current_data_ex(EG(function_table), (void **)&zf, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strlen' from incompatible pointer type [enabled by default]
    if (strcmp(zf->op_array.filename, real_path) == 0) {
    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strlen' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:459:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.c:464:26: error: invalid type argument of '->' (have 'HashPosition')
      SERIALIZE_SCALAR(pos->nKeyLength, int);
                          ^
/tmp/pear/temp/bcompiler/php_bcompiler.h:223:32: note: in definition of macro 'SERIALIZE_SCALAR'
   *((type*)BCOMPILERG(_buf)) = x;                        \
                                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:464:26: error: request for member 'nKeyLength' in something not a structure or union
      SERIALIZE_SCALAR(pos->nKeyLength, int);
                          ^
/tmp/pear/temp/bcompiler/php_bcompiler.h:223:32: note: in definition of macro 'SERIALIZE_SCALAR'
   *((type*)BCOMPILERG(_buf)) = x;                        \
                                ^
/tmp/pear/temp/bcompiler/php_bcompiler.h:223:30: warning: assignment makes integer from pointer without a cast [enabled by default]
   *((type*)BCOMPILERG(_buf)) = x;                        \
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:464:6: note: in expansion of macro 'SERIALIZE_SCALAR'
      SERIALIZE_SCALAR(pos->nKeyLength, int);
      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:31: error: invalid type argument of '->' (have 'HashPosition')
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:31: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:36: error: request for member 'arKey' in something not a structure or union
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:42: error: request for member 's' in something not a structure or union
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                          ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:49: error: invalid type argument of '->' (have 'HashPosition')
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                 ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:49: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:54: error: request for member 'type' in something not a structure or union
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:63: error: 'IS_UNICODE' undeclared (first use in this function)
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:63: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:86: error: invalid type argument of '->' (have 'HashPosition')
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                                                      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:86: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:105: error: invalid type argument of '->' (have 'HashPosition')
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                                                                         ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:105: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:100: warning: pointer/integer type mismatch in conditional expression [enabled by default]
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
                                                                                                    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:6: warning: passing argument 1 of 'apc_serialize_zstring' from incompatible pointer type [enabled by default]
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
      ^
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:298:6: note: expected 'char *' but argument is of type 'const struct zend_ini_entry_def *'
 void apc_serialize_zstring(char* string, int len TSRMLS_DC);
      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:466:6: warning: passing argument 2 of 'apc_serialize_zstring' makes integer from pointer without a cast [enabled by default]
      apc_serialize_zstring(pos->key.arKey.s, pos->key.type == IS_UNICODE ? UBYTES(pos->nKeyLength) : pos->nKeyLength TSRMLS_CC);
      ^
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:298:6: note: expected 'int' but argument is of type 'const struct zend_ini_entry_def *'
 void apc_serialize_zstring(char* string, int len TSRMLS_DC);
      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_functions_from_file':
/tmp/pear/temp/bcompiler/php_bcompiler.c:491:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_file':
/tmp/pear/temp/bcompiler/php_bcompiler.c:532:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:563:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (zend_hash_get_current_data_ex(CG(class_table), (void **)&zc, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: expected 'HashPosition *' but argument is of type 'void **'
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:563:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (zend_hash_get_current_data_ex(CG(class_table), (void **)&zc, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:52: error: invalid type argument of '->' (have 'HashPosition')
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:52: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:57: error: request for member 'arKey' in something not a structure or union
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                         ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:63: error: request for member 's' in something not a structure or union
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:70: error: invalid type argument of '->' (have 'HashPosition')
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:70: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:75: error: request for member 'type' in something not a structure or union
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                           ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:84: error: 'IS_UNICODE' undeclared (first use in this function)
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                                    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:101: error: invalid type argument of '->' (have 'HashPosition')
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                                                     ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:101: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:97: error: wrong type argument to unary minus
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                                                 ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:119: error: invalid type argument of '->' (have 'HashPosition')
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
                                                                                                                       ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:119: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:5: warning: passing argument 4 of 'apc_serialize_zend_class_entry' from incompatible pointer type [enabled by default]
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
     ^
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:305:6: note: expected 'char *' but argument is of type 'const struct zend_ini_entry_def *'
 void apc_serialize_zend_class_entry(zend_class_entry* zce , char* force_parent_name, int force_parent_len, char* force_key, int force_key_len TSRMLS_DC);
      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:579:5: warning: passing argument 5 of 'apc_serialize_zend_class_entry' makes integer from pointer without a cast [enabled by default]
     apc_serialize_zend_class_entry(zc, NULL, 0, pos->key.arKey.s, pos->key.type == IS_UNICODE ? -pos->nKeyLength : pos->nKeyLength TSRMLS_CC);
     ^
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:305:6: note: expected 'int' but argument is of type 'const struct zend_ini_entry_def *'
 void apc_serialize_zend_class_entry(zend_class_entry* zce , char* force_parent_name, int force_parent_len, char* force_key, int force_key_len TSRMLS_DC);
      ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:605:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (zend_hash_get_current_data_ex(CG(function_table), (void **)&zf, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: expected 'HashPosition *' but argument is of type 'void **'
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:605:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (zend_hash_get_current_data_ex(CG(function_table), (void **)&zf, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strlen' from incompatible pointer type [enabled by default]
    if (strcmp(zf->op_array.filename, real_path) == 0) {
    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strlen' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type [enabled by default]
/tmp/pear/temp/bcompiler/php_bcompiler.c:608:4: note: expected 'const char *' but argument is of type 'struct zend_string *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:44: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                            ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:44: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:49: error: request for member 'type' in something not a structure or union
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                 ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:64: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:64: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:69: error: request for member 'arKey' in something not a structure or union
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                     ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:75: error: request for member 's' in something not a structure or union
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                           ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:83: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(function_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                                   ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:610:83: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:624:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (zend_hash_get_current_data_ex(CG(class_table), (void **)&zc, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: expected 'HashPosition *' but argument is of type 'void **'
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:624:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (zend_hash_get_current_data_ex(CG(class_table), (void **)&zc, &pos) == SUCCESS)
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:198:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:41: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                         ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:41: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:46: error: request for member 'type' in something not a structure or union
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:61: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                             ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:61: error: request for member 'key' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:66: error: request for member 'arKey' in something not a structure or union
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                  ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:72: error: request for member 's' in something not a structure or union
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                        ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:80: error: invalid type argument of '->' (have 'HashPosition')
     zend_u_hash_del(CG(class_table), pos->key.type, ZSTR(pos->key.arKey.s), pos->nKeyLength);
                                                                                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:639:80: error: request for member 'nKeyLength' in something not a structure or union
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_parse_class':
/tmp/pear/temp/bcompiler/php_bcompiler.c:669:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
  zend_hash_find(EG(class_table), class_name, class_len+1, (void **)&ce);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected '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/bcompiler/php_bcompiler.c:669:2: error: too many arguments to function 'zend_hash_find'
  zend_hash_find(EG(class_table), class_name, class_len+1, (void **)&ce);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_header':
/tmp/pear/temp/bcompiler/php_bcompiler.c:698:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_footer':
/tmp/pear/temp/bcompiler/php_bcompiler.c:734:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_exe_footer':
/tmp/pear/temp/bcompiler/php_bcompiler.c:756:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_read':
/tmp/pear/temp/bcompiler/php_bcompiler.c:780:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default]
  php_stream_from_zval(stream, &rsrc);
  ^
In file included from /usr/include/php/20160303/Zend/zend_API.h:28:0,
                 from /usr/include/php/20160303/main/php.h:40,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
                ^
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_set_filename_handler':
/tmp/pear/temp/bcompiler/php_bcompiler.c:925:3: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
   if (BCOMPILERG(filename_handler_name)) zval_ptr_dtor(&BCOMPILERG(filename_handler_name));
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:929:3: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
   if (BCOMPILERG(filename_handler)) zval_ptr_dtor(&BCOMPILERG(filename_handler));
   ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:948:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default]
  if (!zend_is_callable(func, 0, name TSRMLS_CC)) {
  ^
In file included from /usr/include/php/20160303/main/php.h:40:0,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_API.h:316:20: note: expected 'struct zend_string **' but argument is of type 'struct zval *'
 ZEND_API zend_bool zend_is_callable(zval *callable, uint check_flags, zend_string **callable_name);
                    ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:953:4: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
    if (name) zval_ptr_dtor(&name);
    ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:970:2: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
  if (BCOMPILERG(filename_handler_name)) zval_ptr_dtor(&BCOMPILERG(filename_handler_name));
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:974:2: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default]
  if (BCOMPILERG(filename_handler)) zval_ptr_dtor(&BCOMPILERG(filename_handler));
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:100:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
               ^
/tmp/pear/temp/bcompiler/php_bcompiler.c:977:2: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default]
  if (func) zval_add_ref(&func);
  ^
In file included from /usr/include/php/20160303/Zend/zend.h:39:0,
                 from /usr/include/php/20160303/main/php.h:36,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.h:31,
                 from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:
/usr/include/php/20160303/Zend/zend_variables.h:129:15: note: expected 'struct zval *' but argument is of type 'struct zval **'
 ZEND_API void zval_add_ref(zval *p);
               ^
make: *** [php_bcompiler.lo] Ошибка 1
ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-01 03:04 UTC] alan_k@php.net
-Status: Open +Status: Suspended
 [2017-06-01 03:04 UTC] alan_k@php.net
PHP7 is not supported - unless there's a patch forth-comming

Suspending as no-one is working on bcompiler currently
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC