Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created June 11, 2021 05:22
Show Gist options
  • Save r-rmcgibbo/ada173f1ffcb5f81b43f72ddca7921a4 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/ada173f1ffcb5f81b43f72ddca7921a4 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/czahm6z21f84d1rk5h7121k0mzfylnwz-pcs-1.3.3.tgz
source root is pcs-1.3.3
setting SOURCE_DATE_EPOCH to timestamp 1484922639 of file pcs-1.3.3/tests/symbol_info_002.phpt
@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/i7m1l10z76gc8ipablbri4njxf6bjm0q-php-pcs-1.3.3
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 the PHP Code Service... yes, shared
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 5458: /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/pcs-1.3.3/libtool --mode=compile gcc -I. -I/build/pcs-1.3.3 -I/build/pcs-1.3.3/include -I/build/pcs-1.3.3/main -I/build/pcs-1.3.3 -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 -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /build/pcs-1.3.3/php_pcs.c -o php_pcs.lo
mkdir .libs
gcc -I. -I/build/pcs-1.3.3 -I/build/pcs-1.3.3/include -I/build/pcs-1.3.3/main -I/build/pcs-1.3.3 -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 -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /build/pcs-1.3.3/php_pcs.c -fPIC -DPIC -o .libs/php_pcs.o
In file included from /build/pcs-1.3.3/pecl-compat/compat.h:107,
from /build/pcs-1.3.3/php_pcs.c:38:
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:59:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
59 | static zend_always_inline void compat_zend_delete_resource(const zval *zv TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:73:112: error: expected ';', ',' or ')' before 'TSRMLS_DC'
73 | static zend_always_inline void *compat_zend_fetch_resource(zval *zv, const char *rsrc_type_name, int rsrc_type TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:82:97: error: expected ';', ',' or ')' before 'TSRMLS_DC'
82 | static zend_always_inline void compat_zend_register_resource(zval *zv, void *ptr, int rsrc_type TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:87:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
87 | static zend_always_inline void compat_zend_delete_resource(const zval *zv TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:98:112: error: expected ';', ',' or ')' before 'TSRMLS_DC'
98 | static zend_always_inline void *compat_zend_fetch_resource(zval *zv, const char *rsrc_type_name, int rsrc_type TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-compat/src/zend_resource.h:109:97: error: expected ';', ',' or ')' before 'TSRMLS_DC'
109 | static zend_always_inline void compat_zend_register_resource(zval *zv, void *ptr, int rsrc_type TSRMLS_DC)
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:30,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/misc.h:57:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
57 | static zend_always_inline int ut_extension_loaded(char *name, int len TSRMLS_DC)
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:49:
/build/pcs-1.3.3/./client.h:102:55: error: expected ';', ',' or ')' before 'TSRMLS_DC'
102 | ZEND_DLEXPORT int PCS_loadScript(PCS_ID id, int throw TSRMLS_DC);
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:54:
/build/pcs-1.3.3/src/PCS_Stream.h:44:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
44 | static size_t PCS_Stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:45:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
45 | static int PCS_Stream_close(php_stream *stream, int close_handle TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:46:101: error: expected ';', ',' or ')' before 'TSRMLS_DC'
46 | static int PCS_Stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:48:111: error: expected ';', ',' or ')' before 'TSRMLS_DC'
48 | static int do_stat(php_stream_wrapper *wrapper, const char *uri, PCS_STREAM_DATA *dp, php_stream_statbuf *ssb TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:49:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
49 | static int PCS_Stream_fstat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:50:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
50 | static size_t PCS_Stream_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:51:104: error: expected ';', ',' or ')' before 'TSRMLS_DC'
51 | static int PCS_Stream_seekdir(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset TSRMLS_DC);
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:54:
/build/pcs-1.3.3/src/PCS_Stream.h:52:199: error: expected ';', ',' or ')' before 'TSRMLS_DC'
52 | static php_stream *PCS_Stream_generic_open(int dir, php_stream_wrapper *wrapper, const char *uri, const char *mode, int options, OPENED_PATH_PTR *opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:53:225: error: expected ';', ',' or ')' before 'TSRMLS_DC'
53 | static php_stream *PCS_Stream_openfile(php_stream_wrapper * wrapper, COMPAT_STREAM_CONST_DECL char *uri, COMPAT_STREAM_CONST_DECL char *mode, int options, OPENED_PATH_PTR *opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:54:161: error: expected ';', ',' or ')' before 'TSRMLS_DC'
54 | static int PCS_Stream_url_stat(php_stream_wrapper *wrapper, COMPAT_STREAM_CONST_DECL char *uri, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.h:55:224: error: expected ';', ',' or ')' before 'TSRMLS_DC'
55 | static php_stream *PCS_Stream_opendir(php_stream_wrapper * wrapper, COMPAT_STREAM_CONST_DECL char *uri, COMPAT_STREAM_CONST_DECL char *mode, int options, OPENED_PATH_PTR *opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:55:
/build/pcs-1.3.3/src/PCS_Loader.h:61:1: warning: parameter names (without types) in function declaration
61 | static void PCS_Loader_insertAutoloadHook(TSRMLS_D);
| ^~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:64:24: error: expected ';', ',' or ')' before 'TSRMLS_DC'
64 | , zend_bool exception TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:65:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
65 | static int PCS_Loader_symbolIsDefined(char type, char *symbol, size_t slen TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:66:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
66 | static int PCS_Loader_loadNode(PCS_Node *node, int throw TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:73:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
73 | static int PCS_Loader_registerNode(PCS_Node *node TSRMLS_DC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:76:1: warning: parameter names (without types) in function declaration
76 | static int PCS_Loader_moduleInit(TSRMLS_D);
| ^~~~~~
/build/pcs-1.3.3/src/PCS_Loader.h:77:1: warning: parameter names (without types) in function declaration
77 | static int PCS_Loader_Init(TSRMLS_D);
| ^~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:88:
/build/pcs-1.3.3/src/PCS_Utils.c: In function 'MINIT_PCS_Utils':
/build/pcs-1.3.3/src/PCS_Utils.c:33:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
33 | static zend_always_inline int MINIT_PCS_Utils(TSRMLS_D)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Utils.c: In function 'MSHUTDOWN_PCS_Utils':
/build/pcs-1.3.3/src/PCS_Utils.c:40:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
40 | static zend_always_inline int MSHUTDOWN_PCS_Utils(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Utils.c: In function 'RINIT_PCS_Utils':
/build/pcs-1.3.3/src/PCS_Utils.c:47:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
47 | static zend_always_inline int RINIT_PCS_Utils(TSRMLS_D)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Utils.c: In function 'RSHUTDOWN_PCS_Utils':
/build/pcs-1.3.3/src/PCS_Utils.c:53:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
53 | static zend_always_inline int RSHUTDOWN_PCS_Utils(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:89:
/build/pcs-1.3.3/src/PCS_Tree.c: In function 'MINIT_PCS_Tree':
/build/pcs-1.3.3/src/PCS_Tree.c:341:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
341 | static zend_always_inline int MINIT_PCS_Tree(TSRMLS_D)
| ^~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Tree.c: In function 'MSHUTDOWN_PCS_Tree':
/build/pcs-1.3.3/src/PCS_Tree.c:364:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
364 | static zend_always_inline int MSHUTDOWN_PCS_Tree(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Tree.c: In function 'RINIT_PCS_Tree':
/build/pcs-1.3.3/src/PCS_Tree.c:397:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
397 | static zend_always_inline int RINIT_PCS_Tree(TSRMLS_D)
| ^~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Tree.c: In function 'RSHUTDOWN_PCS_Tree':
/build/pcs-1.3.3/src/PCS_Tree.c:403:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
403 | static zend_always_inline int RSHUTDOWN_PCS_Tree(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:90:
/build/pcs-1.3.3/src/PCS_Class.c: In function 'MINIT_PCS_Class':
/build/pcs-1.3.3/src/PCS_Class.c:54:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
54 | static zend_always_inline int MINIT_PCS_Class(TSRMLS_D)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Class.c:59:34: error: expected ')' before 'TSRMLS_CC'
59 | zend_register_internal_class(&ce TSRMLS_CC);
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Class.c: In function 'MSHUTDOWN_PCS_Class':
/build/pcs-1.3.3/src/PCS_Class.c:66:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
66 | static zend_always_inline int MSHUTDOWN_PCS_Class(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Class.c: In function 'RINIT_PCS_Class':
/build/pcs-1.3.3/src/PCS_Class.c:73:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
73 | static zend_always_inline int RINIT_PCS_Class(TSRMLS_D)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Class.c: In function 'RSHUTDOWN_PCS_Class':
/build/pcs-1.3.3/src/PCS_Class.c:79:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
79 | static zend_always_inline int RSHUTDOWN_PCS_Class(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:91:
/build/pcs-1.3.3/src/PCS_Stream.c: At top level:
/build/pcs-1.3.3/src/PCS_Stream.c:23:2: error: 'PCS_Stream_read' undeclared here (not in a function); did you mean 'php_stream_read'?
23 | PCS_Stream_read,
| ^~~~~~~~~~~~~~~
| php_stream_read
/build/pcs-1.3.3/src/PCS_Stream.c:24:2: error: 'PCS_Stream_close' undeclared here (not in a function); did you mean 'php_stream_close'?
24 | PCS_Stream_close,
| ^~~~~~~~~~~~~~~~
| php_stream_close
/build/pcs-1.3.3/src/PCS_Stream.c:27:2: error: 'PCS_Stream_seek' undeclared here (not in a function); did you mean 'php_stream_seek'?
27 | PCS_Stream_seek,
| ^~~~~~~~~~~~~~~
| php_stream_seek
/build/pcs-1.3.3/src/PCS_Stream.c:29:2: error: 'PCS_Stream_fstat' undeclared here (not in a function); did you mean 'php_stream_stat'?
29 | PCS_Stream_fstat,
| ^~~~~~~~~~~~~~~~
| php_stream_stat
/build/pcs-1.3.3/src/PCS_Stream.c:35:2: error: 'PCS_Stream_readdir' undeclared here (not in a function); did you mean 'php_stream_readdir'?
35 | PCS_Stream_readdir,
| ^~~~~~~~~~~~~~~~~~
| php_stream_readdir
/build/pcs-1.3.3/src/PCS_Stream.c:39:2: error: 'PCS_Stream_seekdir' undeclared here (not in a function)
39 | PCS_Stream_seekdir,
| ^~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:46:2: error: 'PCS_Stream_openfile' undeclared here (not in a function)
46 | PCS_Stream_openfile, /* open */
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:49:2: error: 'PCS_Stream_url_stat' undeclared here (not in a function)
49 | PCS_Stream_url_stat, /* stat_url */
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:50:2: error: 'PCS_Stream_opendir' undeclared here (not in a function); did you mean 'php_stream_opendir'?
50 | PCS_Stream_opendir, /* opendir */
| ^~~~~~~~~~~~~~~~~~
| php_stream_opendir
/build/pcs-1.3.3/src/PCS_Stream.c:97:75: error: expected ';', ',' or ')' before 'TSRMLS_DC'
97 | static size_t PCS_Stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:121:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
121 | static int PCS_Stream_close(php_stream *stream, int close_handle TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:136:34: error: expected ';', ',' or ')' before 'TSRMLS_DC'
136 | , zend_off_t *newoffset TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:192:49: error: expected ';', ',' or ')' before 'TSRMLS_DC'
192 | , PCS_STREAM_DATA *dp, php_stream_statbuf *ssb TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:230:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
230 | static int PCS_Stream_fstat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:242:78: error: expected ';', ',' or ')' before 'TSRMLS_DC'
242 | static size_t PCS_Stream_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:274:46: error: expected ';', ',' or ')' before 'TSRMLS_DC'
274 | , int whence, zend_off_t *newoffset TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:306:43: error: expected ';', ',' or ')' before 'TSRMLS_DC'
306 | , php_stream_context *context STREAMS_DC TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:408:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
408 | , OPENED_PATH_PTR *opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:417:68: error: expected ';', ',' or ')' before 'TSRMLS_DC'
417 | , int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:433:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
433 | , OPENED_PATH_PTR *opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c: In function 'MINIT_PCS_Stream':
/build/pcs-1.3.3/src/PCS_Stream.c:442:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
442 | static zend_always_inline int MINIT_PCS_Stream(TSRMLS_D)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:444:64: error: expected ')' before 'TSRMLS_CC'
444 | php_register_url_stream_wrapper("pcs", &php_stream_pcs_wrapper TSRMLS_CC);
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Stream.c: In function 'MSHUTDOWN_PCS_Stream':
/build/pcs-1.3.3/src/PCS_Stream.c:452:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
452 | static zend_always_inline int MSHUTDOWN_PCS_Stream(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c:454:41: error: expected ')' before 'TSRMLS_CC'
454 | php_unregister_url_stream_wrapper("pcs" TSRMLS_CC);
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Stream.c: In function 'RINIT_PCS_Stream':
/build/pcs-1.3.3/src/PCS_Stream.c:461:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
461 | static zend_always_inline int RINIT_PCS_Stream(TSRMLS_D)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Stream.c: In function 'RSHUTDOWN_PCS_Stream':
/build/pcs-1.3.3/src/PCS_Stream.c:468:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
468 | static zend_always_inline int RSHUTDOWN_PCS_Stream(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_portability.h:47,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:25,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zif__pcs_autoload_register':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:36:2: note: in expansion of macro 'EG'
36 | EG(autoload_func)=PCS_G(autoload_func);
| ^~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c:40:32: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
40 | PCS_Loader_insertAutoloadHook(TSRMLS_C);
| ^~~~~~~~
| TSRM_H
/build/pcs-1.3.3/src/PCS_Loader.c:40:32: note: each undeclared identifier is reported only once for each function it appears in
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_portability.h:47,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:25,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zif__pcs_autoload_unregister':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:51:2: note: in expansion of macro 'EG'
51 | EG(autoload_func)=PCS_G(autoload_func);
| ^~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c:55:32: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
55 | PCS_Loader_insertAutoloadHook(TSRMLS_C);
| ^~~~~~~~
| TSRM_H
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_portability.h:47,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:25,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zif__pcs_autoload_functions':
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:70:7: note: in expansion of macro 'EG'
70 | func=EG(autoload_func);
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:71:2: note: in expansion of macro 'EG'
71 | EG(autoload_func)=PCS_G(autoload_func);
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:75:2: note: in expansion of macro 'EG'
75 | EG(autoload_func)=func;
| ^~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'PCS_Loader_insertAutoloadHook':
/build/pcs-1.3.3/src/PCS_Loader.c:80:13: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
80 | static void PCS_Loader_insertAutoloadHook(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_portability.h:47,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:25,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:82:6: note: in expansion of macro 'EG'
82 | if (EG(autoload_func) != pcs_autoload_func) {
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:84:26: note: in expansion of macro 'EG'
84 | PCS_G(autoload_func) = EG(autoload_func);
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/../TSRM/TSRM.h:168:87: error: 'zend_executor_globals' {aka 'struct _zend_executor_globals'} has no member named 'autoload_func'
168 | #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element)
| ^~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:58:25: note: in expansion of macro 'TSRMG_FAST_STATIC'
58 | #define ZEND_TSRMG_FAST TSRMG_FAST_STATIC
| ^~~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_globals_macros.h:42:16: note: in expansion of macro 'ZEND_TSRMG_FAST'
42 | # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:85:3: note: in expansion of macro 'EG'
85 | EG(autoload_func) = pcs_autoload_func;
| ^~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zif__pcs_autoload':
/build/pcs-1.3.3/src/PCS_Loader.c:105:43: error: expected ')' before 'TSRMLS_CC'
105 | if (zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "z|s",&zsymbol
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:105:6: error: too few arguments to function 'zend_parse_parameters'
105 | if (zend_parse_parameters(ZEND_NUM_ARGS()TSRMLS_CC, "z|s",&zsymbol
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:106:27: note: in expansion of macro 'EXCEPTION_ABORT'
106 | ,&type,&tlen)==FAILURE) EXCEPTION_ABORT("Cannot parse parameters");
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:106:27: note: in expansion of macro 'EXCEPTION_ABORT'
106 | ,&type,&tlen)==FAILURE) EXCEPTION_ABORT("Cannot parse parameters");
| ^~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:35:39: error: expected ')' before 'TSRMLS_CC'
35 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format,_arg1); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:58:2: note: in expansion of macro 'THROW_EXCEPTION_1'
58 | THROW_EXCEPTION_1(_format,_arg1); \
| ^~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:109:3: note: in expansion of macro 'EXCEPTION_ABORT_1'
109 | EXCEPTION_ABORT_1("Symbol should a string (received type %d)"
| ^~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:35:8: error: too few arguments to function 'zend_throw_exception_ex'
35 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format,_arg1); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:58:2: note: in expansion of macro 'THROW_EXCEPTION_1'
58 | THROW_EXCEPTION_1(_format,_arg1); \
| ^~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:109:3: note: in expansion of macro 'EXCEPTION_ABORT_1'
109 | EXCEPTION_ABORT_1("Symbol should a string (received type %d)"
| ^~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c:116:11: warning: implicit declaration of function 'PCS_Loader_loadSymbol' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
116 | status = PCS_Loader_loadSymbol(ctype , Z_STRVAL_P(zsymbol)
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:117:38: error: expected ')' before 'TSRMLS_CC'
117 | , (size_t)Z_STRLEN_P(zsymbol), 1, 0 TSRMLS_CC);
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Loader.c:122:7: error: 'ZEND_AUTOLOAD_FUNC_NAME' undeclared (first use in this function); did you mean 'ZEND_CLONE_FUNC_NAME'?
122 | , ZEND_AUTOLOAD_FUNC_NAME, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~
| ZEND_CLONE_FUNC_NAME
/build/pcs-1.3.3/src/PCS_Loader.c:135:83: error: expected ')' before 'TSRMLS_CC'
135 | zend_call_method(NULL, NULL, NULL, (char *)fname, flen, NULL, 1, zsymbol, NULL TSRMLS_CC);
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c: At top level:
/build/pcs-1.3.3/src/PCS_Loader.c:150:44: error: expected ';', ',' or ')' before 'TSRMLS_DC'
150 | , zend_bool autoload, zend_bool exception TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:188:76: error: expected ';', ',' or ')' before 'TSRMLS_DC'
188 | static int PCS_Loader_symbolIsDefined(char type, char *symbol, size_t slen TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:232:58: error: expected ';', ',' or ')' before 'TSRMLS_DC'
232 | static int PCS_Loader_loadNode(PCS_Node *node, int throw TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_getFunction':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:365:1: note: in expansion of macro 'PCS_GET_FUNCTION'
365 | PCS_GET_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:365:1: note: in expansion of macro 'PCS_GET_FUNCTION'
365 | PCS_GET_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:365:1: note: in expansion of macro 'PCS_GET_FUNCTION'
365 | PCS_GET_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:365:1: note: in expansion of macro 'PCS_GET_FUNCTION'
365 | PCS_GET_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:365:1: note: in expansion of macro 'PCS_GET_FUNCTION'
365 | PCS_GET_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_getConstant':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:366:1: note: in expansion of macro 'PCS_GET_FUNCTION'
366 | PCS_GET_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:366:1: note: in expansion of macro 'PCS_GET_FUNCTION'
366 | PCS_GET_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:366:1: note: in expansion of macro 'PCS_GET_FUNCTION'
366 | PCS_GET_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:366:1: note: in expansion of macro 'PCS_GET_FUNCTION'
366 | PCS_GET_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:366:1: note: in expansion of macro 'PCS_GET_FUNCTION'
366 | PCS_GET_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_getClass':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:367:1: note: in expansion of macro 'PCS_GET_FUNCTION'
367 | PCS_GET_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:367:1: note: in expansion of macro 'PCS_GET_FUNCTION'
367 | PCS_GET_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:367:1: note: in expansion of macro 'PCS_GET_FUNCTION'
367 | PCS_GET_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:367:1: note: in expansion of macro 'PCS_GET_FUNCTION'
367 | PCS_GET_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:344:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
344 | PCS_GET_REQUIRE_FUNCTION(_name, _type, get, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:367:1: note: in expansion of macro 'PCS_GET_FUNCTION'
367 | PCS_GET_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_requireFunction':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:369:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
369 | PCS_REQUIRE_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:369:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
369 | PCS_REQUIRE_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:369:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
369 | PCS_REQUIRE_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:369:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
369 | PCS_REQUIRE_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:369:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
369 | PCS_REQUIRE_FUNCTION(Function,PCS_T_FUNCTION)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_requireConstant':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:370:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
370 | PCS_REQUIRE_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:370:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
370 | PCS_REQUIRE_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:370:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
370 | PCS_REQUIRE_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:370:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
370 | PCS_REQUIRE_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:370:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
370 | PCS_REQUIRE_FUNCTION(Constant,PCS_T_CONSTANT)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'zim_PCS_requireClass':
/build/pcs-1.3.3/src/PCS_Loader.c:356:45: error: expected ')' before 'TSRMLS_CC'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:371:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
371 | PCS_REQUIRE_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:356:7: error: too few arguments to function 'zend_parse_parameters'
356 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &symbol \
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:371:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
371 | PCS_REQUIRE_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:304:22: note: declared here
304 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:371:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
371 | PCS_REQUIRE_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:52:2: note: in expansion of macro 'THROW_EXCEPTION'
52 | THROW_EXCEPTION(_format); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:358:4: note: in expansion of macro 'EXCEPTION_ABORT'
358 | EXCEPTION_ABORT("Cannot parse parameters"); \
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:371:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
371 | PCS_REQUIRE_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend.h:27,
from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:31,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/src/PCS_Loader.c:362:27: error: expected ')' before 'TSRMLS_CC'
362 | , autoload, _exception TSRMLS_CC) == SUCCESS); \
| ^~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
893 | (b) ? IS_TRUE : IS_FALSE; \
| ^
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
734 | #define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:361:3: note: in expansion of macro 'RETURN_BOOL'
361 | RETURN_BOOL(PCS_Loader_loadSymbol(_type, symbol, (size_t)slen \
| ^~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:347:2: note: in expansion of macro 'PCS_GET_REQUIRE_FUNCTION'
347 | PCS_GET_REQUIRE_FUNCTION(_name, _type, require, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:371:1: note: in expansion of macro 'PCS_REQUIRE_FUNCTION'
371 | PCS_REQUIRE_FUNCTION(Class,PCS_T_CLASS)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c: At top level:
/build/pcs-1.3.3/src/PCS_Loader.c:378:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
378 | static int PCS_Loader_registerNode(PCS_Node *node TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'PCS_Loader_moduleInit':
/build/pcs-1.3.3/src/PCS_Loader.c:561:12: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
561 | static int PCS_Loader_moduleInit(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'PCS_Loader_Init':
/build/pcs-1.3.3/src/PCS_Loader.c:628:12: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
628 | static int PCS_Loader_Init(TSRMLS_D)
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:636:6: warning: implicit declaration of function 'PCS_Loader_loadNode' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
636 | if (PCS_Loader_loadNode(ParserInterface_node, 1 TSRMLS_CC) == FAILURE) {
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:636:49: error: expected ')' before 'TSRMLS_CC'
636 | if (PCS_Loader_loadNode(ParserInterface_node, 1 TSRMLS_CC) == FAILURE) {
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Loader.c:639:46: error: expected ')' before 'TSRMLS_CC'
639 | if (PCS_Loader_loadNode(StringParser_node, 1 TSRMLS_CC) == FAILURE) {
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Loader.c:644:3: warning: implicit declaration of function 'PCS_Loader_registerNode'; did you mean 'PCS_Loader_registerKey'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
644 | PCS_Loader_registerNode(node TSRMLS_CC);
| ^~~~~~~~~~~~~~~~~~~~~~~
| PCS_Loader_registerKey
/build/pcs-1.3.3/src/PCS_Loader.c:644:31: error: expected ')' before 'TSRMLS_CC'
644 | PCS_Loader_registerNode(node TSRMLS_CC);
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'MINIT_PCS_Loader':
/build/pcs-1.3.3/src/PCS_Loader.c:654:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
654 | static zend_always_inline int MINIT_PCS_Loader(TSRMLS_D)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:658:7: warning: implicit declaration of function 'ut_extension_loaded' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
658 | if (!ut_extension_loaded(IMM_STRL("spl") TSRMLS_CC)) {
| ^~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:658:43: error: expected ')' before 'TSRMLS_CC'
658 | if (!ut_extension_loaded(IMM_STRL("spl") TSRMLS_CC)) {
| ^~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:39: error: expected ')' before 'TSRMLS_CC'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:659:3: note: in expansion of macro 'THROW_EXCEPTION'
659 | THROW_EXCEPTION("PCS requires the SPL extension");
| ^~~~~~~~~~~~~~~
/build/pcs-1.3.3/pecl-utils/src/exceptions.h:29:8: error: too few arguments to function 'zend_throw_exception_ex'
29 | (void)zend_throw_exception_ex(NULL,0 TSRMLS_CC ,_format); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:659:3: note: in expansion of macro 'THROW_EXCEPTION'
659 | THROW_EXCEPTION("PCS requires the SPL extension");
| ^~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/pecl-utils/src/exceptions.h:22,
from /build/pcs-1.3.3/pecl-utils/utils.h:27,
from /build/pcs-1.3.3/php_pcs.c:39:
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_exceptions.h:61:33: note: declared here
61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:92:
/build/pcs-1.3.3/src/PCS_Loader.c:669:31: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRMLS_D'?
669 | return PCS_Loader_moduleInit(TSRMLS_C);
| ^~~~~~~~
| TSRMLS_D
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'MSHUTDOWN_PCS_Loader':
/build/pcs-1.3.3/src/PCS_Loader.c:674:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
674 | static zend_always_inline int MSHUTDOWN_PCS_Loader(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'RINIT_PCS_Loader':
/build/pcs-1.3.3/src/PCS_Loader.c:691:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
691 | static zend_always_inline int RINIT_PCS_Loader(TSRMLS_D)
| ^~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Loader.c:696:32: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRMLS_D'?
696 | PCS_Loader_insertAutoloadHook(TSRMLS_C);
| ^~~~~~~~
| TSRMLS_D
/build/pcs-1.3.3/src/PCS_Loader.c:715:35: error: expected ')' before 'TSRMLS_CC'
715 | if (PCS_Loader_loadNode(node, 1 TSRMLS_CC) == FAILURE) {
| ^~~~~~~~~~
| )
/build/pcs-1.3.3/src/PCS_Loader.c: In function 'RSHUTDOWN_PCS_Loader':
/build/pcs-1.3.3/src/PCS_Loader.c:725:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
725 | static zend_always_inline int RSHUTDOWN_PCS_Loader(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:93:
/build/pcs-1.3.3/src/PCS_API.c: At top level:
/build/pcs-1.3.3/src/PCS_API.c:221:55: error: expected ';', ',' or ')' before 'TSRMLS_DC'
221 | ZEND_DLEXPORT int PCS_loadScript(PCS_ID id, int throw TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/src/PCS_API.c: In function 'MINIT_PCS_API':
/build/pcs-1.3.3/src/PCS_API.c:288:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
288 | static zend_always_inline int MINIT_PCS_API(TSRMLS_D)
| ^~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_API.c: In function 'MSHUTDOWN_PCS_API':
/build/pcs-1.3.3/src/PCS_API.c:295:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
295 | static zend_always_inline int MSHUTDOWN_PCS_API(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_API.c: In function 'RINIT_PCS_API':
/build/pcs-1.3.3/src/PCS_API.c:302:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
302 | static zend_always_inline int RINIT_PCS_API(TSRMLS_D)
| ^~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_API.c: In function 'RSHUTDOWN_PCS_API':
/build/pcs-1.3.3/src/PCS_API.c:308:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
308 | static zend_always_inline int RSHUTDOWN_PCS_API(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~
In file included from /build/pcs-1.3.3/php_pcs.c:94:
/build/pcs-1.3.3/src/PCS_Info.c: In function 'MINIT_PCS_Info':
/build/pcs-1.3.3/src/PCS_Info.c:155:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
155 | static zend_always_inline int MINIT_PCS_Info(TSRMLS_D)
| ^~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Info.c: In function 'MSHUTDOWN_PCS_Info':
/build/pcs-1.3.3/src/PCS_Info.c:162:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
162 | static zend_always_inline int MSHUTDOWN_PCS_Info(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Info.c: In function 'RINIT_PCS_Info':
/build/pcs-1.3.3/src/PCS_Info.c:169:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
169 | static zend_always_inline int RINIT_PCS_Info(TSRMLS_D)
| ^~~~~~~~~~~~~~
/build/pcs-1.3.3/src/PCS_Info.c: In function 'RSHUTDOWN_PCS_Info':
/build/pcs-1.3.3/src/PCS_Info.c:175:31: warning: type of 'TSRMLS_D' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
175 | static zend_always_inline int RSHUTDOWN_PCS_Info(TSRMLS_D)
| ^~~~~~~~~~~~~~~~~~
/build/pcs-1.3.3/php_pcs.c: At top level:
/build/pcs-1.3.3/php_pcs.c:138:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
138 | static void pcs_globals_ctor(zend_pcs_globals * globals TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/php_pcs.c:150:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
150 | static void pcs_globals_dtor(zend_pcs_globals * globals TSRMLS_DC)
| ^~~~~~~~~
/build/pcs-1.3.3/php_pcs.c: In function 'zm_activate_pcs':
/build/pcs-1.3.3/php_pcs.c:162:22: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
162 | if (RINIT_PCS_Utils(TSRMLS_C) == FAILURE) return FAILURE;
| ^~~~~~~~
| TSRM_H
/build/pcs-1.3.3/php_pcs.c: In function 'zm_deactivate_pcs':
/build/pcs-1.3.3/php_pcs.c:178:25: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
178 | if (RSHUTDOWN_PCS_Info(TSRMLS_C) == FAILURE) return FAILURE;
| ^~~~~~~~
| TSRM_H
In file included from /nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/main/php.h:35,
from /build/pcs-1.3.3/php_pcs.c:34:
/build/pcs-1.3.3/php_pcs.c: In function 'zm_startup_pcs':
/build/pcs-1.3.3/php_pcs.c:204:32: error: 'pcs_globals_ctor' undeclared (first use in this function); did you mean 'gc_globals_ctor'?
204 | ZEND_INIT_MODULE_GLOBALS(pcs, pcs_globals_ctor, NULL);
| ^~~~~~~~~~~~~~~~
/nix/store/ggpdr0cclwpwxbxhgybv508y5p1g3dmk-php-8.0.7-dev/include/php/Zend/zend_API.h:211:101: note: in definition of macro 'ZEND_INIT_MODULE_GLOBALS'
211 | ts_allocate_id(&module_name##_globals_id, sizeof(zend_##module_name##_globals), (ts_allocate_ctor) globals_ctor, (ts_allocate_dtor) globals_dtor);
| ^~~~~~~~~~~~
/build/pcs-1.3.3/php_pcs.c:207:22: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
207 | if (MINIT_PCS_Utils(TSRMLS_C) == FAILURE) return FAILURE;
| ^~~~~~~~
| TSRM_H
/build/pcs-1.3.3/php_pcs.c: In function 'zm_shutdown_pcs':
/build/pcs-1.3.3/php_pcs.c:229:2: warning: implicit declaration of function 'pcs_globals_dtor'; did you mean 'gc_globals_dtor'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
229 | pcs_globals_dtor(ZEND_MODULE_GLOBALS_BULK(pcs) TSRMLS_CC);
| ^~~~~~~~~~~~~~~~
| gc_globals_dtor
/build/pcs-1.3.3/php_pcs.c:229:49: error: expected ')' before 'TSRMLS_CC'
229 | pcs_globals_dtor(ZEND_MODULE_GLOBALS_BULK(pcs) TSRMLS_CC);
| ^~~~~~~~~
/build/pcs-1.3.3/php_pcs.c:231:25: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
231 | if (MSHUTDOWN_PCS_Info(TSRMLS_C) == FAILURE) return FAILURE;
| ^~~~~~~~
| TSRM_H
make: *** [Makefile:233: php_pcs.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment