Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created June 11, 2021 05:22
Show Gist options
  • Save r-rmcgibbo/323b238931db5b85791934f2a7b6a7b9 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/323b238931db5b85791934f2a7b6a7b9 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 5 seconds | https://github.com/NixOS/nixpkgs/pull/126553
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/fmm4l7gdsa4y9gl89670pynv0gv6wjny-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconfPhase
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2072: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2728: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2727: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2810: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2809: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1918: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./build/ltmain.sh
configure flags: --disable-static --prefix=/nix/store/687mwijrhcsi1r0zzlr762zyn64jf04c-php-pthreads-3.2.0-dev
checking for grep that handles long lines and -e... /nix/store/7n3yzh9wza4bdqc04v01xddnfhkrwk2a-gnugrep-3.6/bin/grep
checking for egrep... /nix/store/7n3yzh9wza4bdqc04v01xddnfhkrwk2a-gnugrep-3.6/bin/grep -E
checking for a sed that does not truncate output... /nix/store/g34ldykl1cal5b9ir3xinnq70m52fcnq-gnused-4.8/bin/sed
checking for pkg-config... no
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /nix/store/ivc3hflqvllvf961gvq1d886h6f685rk-php-8.0.7
checking for PHP includes... -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/TSRM -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext/date/lib
checking for PHP extension directory... /nix/store/ivc3hflqvllvf961gvq1d886h6f685rk-php-8.0.7/lib/php/extensions
checking for PHP installed headers prefix... /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for gawk... gawk
checking whether to enable pthreads... yes, shared
checking whether to enable AddressSanitizer for pthreads... no
checking whether to enable dmalloc for pthreads... no
checking for ZTS... ok
checking for a sed that does not truncate output... /nix/store/g34ldykl1cal5b9ir3xinnq70m52fcnq-gnused-4.8/bin/sed
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
./configure: line 5489: /usr/bin/file: No such file or directory
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC...
checking if g++ static flag works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/kxj6cblcsd1qcbbxlmbswwrn89zcmgd6-bash-4.4-p23/bin/bash EXTENSION_DIR=\$\(out\)/lib/php/extensions
/nix/store/kxj6cblcsd1qcbbxlmbswwrn89zcmgd6-bash-4.4-p23/bin/bash /build/source/libtool --mode=compile gcc -I. -I/build/source -I/build/source/include -I/build/source/main -I/build/source -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/TSRM -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext/date/lib -I/build/source/. -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /build/source/php_pthreads.c -o php_pthreads.lo
mkdir .libs
gcc -I. -I/build/source -I/build/source/include -I/build/source/main -I/build/source -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/TSRM -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext -I/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/ext/date/lib -I/build/source/. -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /build/source/php_pthreads.c -fPIC -DPIC -o .libs/php_pthreads.o
In file included from /build/source/php_pthreads.c:51:
./src/copy.h: In function 'pthreads_copy_arginfo':
./src/copy.h:307:41: warning: implicit declaration of function 'ZEND_TYPE_IS_CLASS'; did you mean 'ZEND_TYPE_HAS_CLASS'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
307 | if (ZEND_TYPE_IS_SET(old[it].type) && ZEND_TYPE_IS_CLASS(old[it].type)) {
| ^~~~~~~~~~~~~~~~~~
| ZEND_TYPE_HAS_CLASS
./src/copy.h:308:20: warning: implicit declaration of function 'ZEND_TYPE_ENCODE_CLASS'; did you mean 'ZEND_TYPE_INIT_CLASS'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
308 | info[it].type = ZEND_TYPE_ENCODE_CLASS(
| ^~~~~~~~~~~~~~~~~~~~~~
| ZEND_TYPE_INIT_CLASS
./src/copy.h:308:20: error: incompatible types when assigning to type 'zend_type' from type 'int'
./src/copy.h: In function 'pthreads_copy_user_function':
./src/copy.h:346:12: error: 'zend_op_array' {aka 'struct _zend_op_array'} has no member named 'run_time_cache'; did you mean 'run_time_cache__ptr'?
346 | op_array->run_time_cache = NULL;
| ^~~~~~~~~~~~~~
| run_time_cache__ptr
/build/source/php_pthreads.c: In function 'zm_startup_pthreads':
/build/source/php_pthreads.c:751:32: warning: assignment to 'zend_object_cast_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'int (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
751 | pthreads_handlers.cast_object = pthreads_cast_object;
| ^
/build/source/php_pthreads.c:752:35: warning: assignment to 'zend_object_count_elements_t' {aka 'int (*)(struct _zend_object *, long int *)'} from incompatible pointer type 'int (*)(zval *, zend_long *)' {aka 'int (*)(struct _zval_struct *, long int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
752 | pthreads_handlers.count_elements = pthreads_count_properties;
| ^
/build/source/php_pthreads.c:754:35: warning: assignment to 'zend_object_get_debug_info_t' {aka 'struct _zend_array * (*)(struct _zend_object *, int *)'} from incompatible pointer type 'HashTable * (*)(zval *, int *)' {aka 'struct _zend_array * (*)(struct _zval_struct *, int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
754 | pthreads_handlers.get_debug_info = pthreads_read_debug;
| ^
/build/source/php_pthreads.c:755:35: warning: assignment to 'zend_object_get_properties_t' {aka 'struct _zend_array * (*)(struct _zend_object *)'} from incompatible pointer type 'HashTable * (*)(zval *)' {aka 'struct _zend_array * (*)(struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
755 | pthreads_handlers.get_properties = pthreads_read_properties;
| ^
/build/source/php_pthreads.c:757:34: warning: assignment to 'zend_object_read_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, int, void **, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int, void **, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int, void **, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
757 | pthreads_handlers.read_property = pthreads_read_property;
| ^
/build/source/php_pthreads.c:758:35: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
758 | pthreads_handlers.write_property = pthreads_write_property;
| ^
/build/source/php_pthreads.c:759:33: warning: assignment to 'zend_object_has_property_t' {aka 'int (*)(struct _zend_object *, struct _zend_string *, int, void **)'} from incompatible pointer type 'int (*)(zval *, zval *, int, void **)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
759 | pthreads_handlers.has_property = pthreads_has_property;
| ^
/build/source/php_pthreads.c:760:35: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
760 | pthreads_handlers.unset_property = pthreads_unset_property;
| ^
/build/source/php_pthreads.c:762:35: warning: assignment to 'zend_object_read_dimension_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zval_struct *, int, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
762 | pthreads_handlers.read_dimension = pthreads_read_dimension;
| ^
/build/source/php_pthreads.c:763:36: warning: assignment to 'zend_object_write_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
763 | pthreads_handlers.write_dimension = pthreads_write_dimension;
| ^
/build/source/php_pthreads.c:764:34: warning: assignment to 'zend_object_has_dimension_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'int (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
764 | pthreads_handlers.has_dimension = pthreads_has_dimension;
| ^
/build/source/php_pthreads.c:765:36: warning: assignment to 'zend_object_unset_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *)'} from incompatible pointer type 'void (*)(zval *, zval *)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
765 | pthreads_handlers.unset_dimension = pthreads_unset_dimension;
| ^
/build/source/php_pthreads.c:768:19: error: 'zend_object_handlers' {aka 'struct _zend_object_handlers'} has no member named 'get'
768 | pthreads_handlers.get = NULL;
| ^
/build/source/php_pthreads.c:769:19: error: 'zend_object_handlers' {aka 'struct _zend_object_handlers'} has no member named 'set'
769 | pthreads_handlers.set = NULL;
| ^
/build/source/php_pthreads.c:770:27: warning: assignment to 'zend_object_get_gc_t' {aka 'struct _zend_array * (*)(struct _zend_object *, struct _zval_struct **, int *)'} from incompatible pointer type 'HashTable * (*)(zval *, zval **, int *)' {aka 'struct _zend_array * (*)(struct _zval_struct *, struct _zval_struct **, int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
770 | pthreads_handlers.get_gc = pthreads_base_gc;
| ^
/build/source/php_pthreads.c:772:30: warning: assignment to 'zend_object_clone_obj_t' {aka 'struct _zend_object * (*)(struct _zend_object *)'} from incompatible pointer type 'zend_object * (*)(zval *)' {aka 'struct _zend_object * (*)(struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
772 | pthreads_handlers.clone_obj = pthreads_base_clone;
| ^
/build/source/php_pthreads.c:773:19: error: 'zend_object_handlers' {aka 'struct _zend_object_handlers'} has no member named 'compare_objects'
773 | pthreads_handlers.compare_objects = pthreads_compare_objects;
| ^
/build/source/php_pthreads.c:777:42: warning: assignment to 'zend_object_count_elements_t' {aka 'int (*)(struct _zend_object *, long int *)'} from incompatible pointer type 'int (*)(zval *, zend_long *)' {aka 'int (*)(struct _zval_struct *, long int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
777 | pthreads_socket_handlers.count_elements = pthreads_count_properties_disallow;
| ^
/build/source/php_pthreads.c:780:42: warning: assignment to 'zend_object_get_properties_t' {aka 'struct _zend_array * (*)(struct _zend_object *)'} from incompatible pointer type 'HashTable * (*)(zval *)' {aka 'struct _zend_array * (*)(struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
780 | pthreads_socket_handlers.get_properties = pthreads_read_properties_disallow;
| ^
/build/source/php_pthreads.c:781:41: warning: assignment to 'zend_object_read_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, int, void **, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int, void **, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int, void **, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
781 | pthreads_socket_handlers.read_property = pthreads_read_property_disallow;
| ^
/build/source/php_pthreads.c:782:42: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zend_string *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
782 | pthreads_socket_handlers.write_property = pthreads_write_property_disallow;
| ^
/build/source/php_pthreads.c:783:40: warning: assignment to 'zend_object_has_property_t' {aka 'int (*)(struct _zend_object *, struct _zend_string *, int, void **)'} from incompatible pointer type 'int (*)(zval *, zval *, int, void **)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
783 | pthreads_socket_handlers.has_property = pthreads_has_property_disallow;
| ^
/build/source/php_pthreads.c:784:42: warning: assignment to 'zend_object_unset_property_t' {aka 'void (*)(struct _zend_object *, struct _zend_string *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, void **)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
784 | pthreads_socket_handlers.unset_property = pthreads_unset_property_disallow;
| ^
/build/source/php_pthreads.c:785:42: warning: assignment to 'zend_object_read_dimension_t' {aka 'struct _zval_struct * (*)(struct _zend_object *, struct _zval_struct *, int, struct _zval_struct *)'} from incompatible pointer type 'zval * (*)(zval *, zval *, int, zval *)' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, int, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
785 | pthreads_socket_handlers.read_dimension = pthreads_read_dimension_disallow;
| ^
/build/source/php_pthreads.c:786:43: warning: assignment to 'zend_object_write_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *, struct _zval_struct *)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
786 | pthreads_socket_handlers.write_dimension = pthreads_write_dimension_disallow;
| ^
/build/source/php_pthreads.c:787:41: warning: assignment to 'zend_object_has_dimension_t' {aka 'int (*)(struct _zend_object *, struct _zval_struct *, int)'} from incompatible pointer type 'int (*)(zval *, zval *, int)' {aka 'int (*)(struct _zval_struct *, struct _zval_struct *, int)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
787 | pthreads_socket_handlers.has_dimension = pthreads_has_dimension_disallow;
| ^
/build/source/php_pthreads.c:788:43: warning: assignment to 'zend_object_unset_dimension_t' {aka 'void (*)(struct _zend_object *, struct _zval_struct *)'} from incompatible pointer type 'void (*)(zval *, zval *)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
788 | pthreads_socket_handlers.unset_dimension = pthreads_unset_dimension_disallow;
| ^
In file included from /build/source/php_pthreads.c:875:
./classes/threaded.h: In function 'zim_Threaded_synchronized':
./classes/threaded.h:194:10: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation'
194 | call.fci.no_separation = 1;
| ^
In file included from /build/source/php_pthreads.c:887:
./classes/worker.h: In function 'pthreads_worker_collect_function':
./classes/worker.h:201:11: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation'
201 | call->fci.no_separation = 1;
| ^
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
./classes/worker.h: In function 'zim_Worker_collector':
./classes/worker.h:229:33: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
229 | zend_call_method_with_0_params(collectable, Z_OBJCE_P(collectable), NULL, "isgarbage", return_value);
| ^~~~~~~~~~~
| |
| zval * {aka struct _zval_struct *}
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
44 | zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
| ^~~
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from ./src/pthreads.h:37,
from /build/source/php_pthreads.c:22:
./classes/pool.h: In function 'zim_Pool___construct':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:87:50: note: in expansion of macro 'getThis'
87 | zend_update_property_long(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("size"), size);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:390:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
390 | ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_update_property_stringl' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:89:25: note: in expansion of macro 'getThis'
89 | Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("class"), clazz->name->val, clazz->name->len);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:394:82: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
394 | ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, const char *value, size_t value_length);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_update_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:91:46: note: in expansion of macro 'getThis'
91 | zend_update_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("ctor"), ctor);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:387:74: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
387 | ZEND_API void zend_update_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zval *value);
| ~~~~~~~~~~~~~^~~~~~
./classes/pool.h: In function 'zim_Pool_resize':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:107:53: note: in expansion of macro 'getThis'
107 | workers = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("workers"), 1, &tmp[0]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:108:53: note: in expansion of macro 'getThis'
108 | size = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("size"), 1, &tmp[1]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
In file included from /build/source/php_pthreads.c:891:
./classes/pool.h:119:6: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
119 | worker, Z_OBJCE_P(worker), NULL, ZEND_STRL("shutdown"), NULL, 0, NULL, NULL);
| ^~~~~~
| |
| zval * {aka struct _zval_struct *}
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from ./src/pthreads.h:37,
from /build/source/php_pthreads.c:22:
./classes/pool.h: In function 'zim_Pool_submit':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:156:50: note: in expansion of macro 'getThis'
156 | last = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("last"), 1, &tmp[0]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:157:50: note: in expansion of macro 'getThis'
157 | size = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("size"), 1, &tmp[1]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:158:53: note: in expansion of macro 'getThis'
158 | workers = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("workers"), 1, &tmp[2]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:167:52: note: in expansion of macro 'getThis'
167 | clazz = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("class"), 1, &tmp[3]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:183:52: note: in expansion of macro 'getThis'
183 | ctor = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("ctor"), 1, &tmp[4]);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
In file included from /build/source/php_pthreads.c:891:
./classes/pool.h:207:8: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation'
207 | fci.no_separation = 1;
| ^
./classes/pool.h:229:21: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
229 | zend_call_method(&worker, Z_OBJCE(worker), NULL, ZEND_STRL("start"), NULL, 0, NULL, NULL);
| ^~~~~~~
| |
| zval * {aka struct _zval_struct *}
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /build/source/php_pthreads.c:891:
./classes/pool.h:237:19: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
237 | zend_call_method(selected, Z_OBJCE_P(selected), NULL, ZEND_STRL("stack"), NULL, 1, task, NULL);
| ^~~~~~~~
| |
| zval * {aka struct _zval_struct *}
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from ./src/pthreads.h:37,
from /build/source/php_pthreads.c:22:
./classes/pool.h: In function 'zim_Pool_submitTo':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:255:53: note: in expansion of macro 'getThis'
255 | workers = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("workers"), 1, &tmp);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
In file included from /build/source/php_pthreads.c:891:
./classes/pool.h:261:20: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
261 | zend_call_method(selected,
| ^~~~~~~~
| |
| zval * {aka struct _zval_struct *}
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from ./src/pthreads.h:37,
from /build/source/php_pthreads.c:22:
./classes/pool.h: In function 'zim_Pool_collect':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:416:73: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
416 | #define getThis() ((Z_TYPE_P(ZEND_THIS) == IS_OBJECT) ? ZEND_THIS : NULL)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| zval * {aka struct _zval_struct *}
./classes/pool.h:286:53: note: in expansion of macro 'getThis'
286 | workers = zend_read_property(Z_OBJCE_P(getThis()), getThis(), ZEND_STRL("workers"), 1, &tmp);
| ^~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
./classes/pool.h: In function 'pthreads_pool_shutdown_worker':
./classes/pool.h:316:3: warning: passing argument 1 of 'zend_call_method' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
316 | worker, Z_OBJCE_P(worker), NULL, "shutdown", &retval);
| ^~~~~~
| |
| zval * {aka struct _zval_struct *}
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:44:19: note: in definition of macro 'zend_call_method_with_0_params'
44 | zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
| ^~~
In file included from ./src/pthreads.h:65,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_interfaces.h:41:46: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
41 | ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zval* arg2);
| ~~~~~~~~~~~~~^~~~~~
In file included from /build/source/php_pthreads.c:891:
./classes/pool.h: In function 'pthreads_pool_shutdown':
./classes/pool.h:328:20: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
328 | Z_OBJCE_P(pool), pool, ZEND_STRL("workers"), 1, &tmp);
| ^~~~
| |
| zval * {aka struct _zval_struct *}
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from ./src/pthreads.h:37,
from /build/source/php_pthreads.c:22:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:407:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
407 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
| ~~~~~~~~~~~~~^~~~~~
make: *** [Makefile:211: php_pthreads.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment