Created
November 19, 2024 14:47
-
-
Save ephrin/ff95ff2e408c3e23ac39b2d4465a5810 to your computer and use it in GitHub Desktop.
attempt to compile pdflib 9.1.0 from C sources and package.xml from pecl pdflib 4.1.4 and PHP version 8.1
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
downloading pdflib-4.1.4.tgz ... | |
Starting to download pdflib-4.1.4.tgz (32,652 bytes) | |
.........done: 32,652 bytes | |
7 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20210902 | |
Zend Module Api No: 20210902 | |
Zend Extension Api No: 420210902 | |
path to pdflib installation? : building in /tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4 | |
running: /tmp/pear/temp/pdflib/configure --with-php-config=/usr/local/bin/php-config --with-pdflib=/tmp/pdflib-files/bind/c | |
checking for grep that handles long lines and -e... /bin/grep | |
checking for egrep... /bin/grep -E | |
checking for a sed that does not truncate output... /bin/sed | |
checking for pkg-config... /usr/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking for cc... cc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether cc accepts -g... yes | |
checking for cc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... cc -E | |
checking for icc... no | |
checking for suncc... no | |
checking for system library directory... lib | |
checking if compiler supports -Wl,-rpath,... yes | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking target system type... x86_64-pc-linux-gnu | |
checking for PHP prefix... /usr/local | |
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib | |
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902 | |
checking for PHP installed headers prefix... /usr/local/include/php | |
checking if debug is enabled... no | |
checking if zts is enabled... no | |
checking for gawk... no | |
checking for nawk... nawk | |
checking if nawk is broken... no | |
checking for PDFlib support... yes, shared | |
checking for g++... g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking how to run the C++ preprocessor... g++ -E | |
checking for a sed that does not truncate output... /bin/sed | |
checking for ld used by cc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... yes | |
checking for /usr/bin/ld option to reload object files... -r | |
checking for BSD-compatible nm... /usr/bin/nm -B | |
checking whether ln -s works... yes | |
checking how to recognize dependent libraries... pass_all | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking dlfcn.h usability... yes | |
checking dlfcn.h presence... yes | |
checking for dlfcn.h... yes | |
checking how to run the C++ preprocessor... g++ -E | |
checking the maximum length of command line arguments... 1572864 | |
checking command to parse /usr/bin/nm -B output from cc object... ok | |
checking for objdir... .libs | |
checking for ar... ar | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking if cc supports -fno-rtti -fno-exceptions... no | |
checking for cc option to produce PIC... -fPIC | |
checking if cc PIC flag -fPIC works... yes | |
checking if cc static flag -static works... yes | |
checking if cc supports -c -o file.o... yes | |
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... no | |
creating libtool | |
appending configuration tag "CXX" to libtool | |
checking for ld used by g++... /usr/bin/ld -m elf_x86_64 | |
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fPIC | |
checking if g++ PIC flag -fPIC works... yes | |
checking if g++ static flag -static works... yes | |
checking if g++ supports -c -o file.o... yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
(cached) (cached) checking how to hardcode library paths into programs... immediate | |
configure: patching config.h.in | |
configure: creating ./config.status | |
config.status: creating config.h | |
running: make | |
/bin/bash /tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4/libtool --mode=compile cc -I. -I/tmp/pear/temp/pdflib -I/tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4/include -I/tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4/main -I/tmp/pear/temp/pdflib -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pdflib-files/bind/c/include -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/pdflib/pdf.c -o pdf.lo -MMD -MF pdf.dep -MT pdf.lo | |
mkdir .libs | |
cc -I. -I/tmp/pear/temp/pdflib -I/tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4/include -I/tmp/pear/temp/pear-build-defaultuser80rLPF/pdflib-4.1.4/main -I/tmp/pear/temp/pdflib -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pdflib-files/bind/c/include -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/pdflib/pdf.c -MMD -MF pdf.dep -MT pdf.lo -fPIC -DPIC -o .libs/pdf.o | |
/tmp/pear/temp/pdflib/pdf.c:207:24: error: expected ';', ',' or ')' before 'TSRMLS_DC' | |
207 | const char *errmsg TSRMLS_DC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:271:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' | |
271 | static void free_pdf_resource(zend_resource *rsrc TSRMLS_DC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:313:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' | |
313 | pdflib_object_dtor(void *object TSRMLS_DC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:331:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' | |
331 | pdflib_object_new(zend_class_entry *class_type TSRMLS_DC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c: In function 'zm_startup_PDFlib': | |
/tmp/pear/temp/pdflib/pdf.c:405:31: error: expected ')' before 'TSRMLS_CC' | |
405 | php_error_docref(NULL TSRMLS_CC, E_ERROR, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:405:9: error: too few arguments to function 'php_error_docref' | |
405 | php_error_docref(NULL TSRMLS_CC, E_ERROR, | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:410:48: error: 'free_pdf_resource' undeclared (first use in this function); did you mean 'zend_resource'? | |
410 | le_pdf = zend_register_list_destructors_ex(free_pdf_resource, | |
| ^~~~~~~~~~~~~~~~~ | |
| zend_resource | |
/tmp/pear/temp/pdflib/pdf.c:410:48: note: each undeclared identifier is reported only once for each function it appears in | |
/tmp/pear/temp/pdflib/pdf.c:421:44: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? | |
421 | zend_exception_get_default(TSRMLS_C) TSRMLS_CC); | |
| ^~~~~~~~ | |
| TSRM_H | |
/tmp/pear/temp/pdflib/pdf.c:421:17: error: too many arguments to function 'zend_exception_get_default' | |
421 | zend_exception_get_default(TSRMLS_C) TSRMLS_CC); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:29: | |
/usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here | |
51 | ZEND_API zend_class_entry *zend_exception_get_default(void); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:421:53: error: expected ')' before 'TSRMLS_CC' | |
421 | zend_exception_get_default(TSRMLS_C) TSRMLS_CC); | |
| ^~~~~~~~~~ | |
| ) | |
/tmp/pear/temp/pdflib/pdf.c:428:61: error: expected ')' before 'TSRMLS_CC' | |
428 | sizeof("apiname")-1, "", ZEND_ACC_PROTECTED TSRMLS_CC); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:436:28: error: 'pdflib_object_new' undeclared (first use in this function); did you mean 'pdflib_object'? | |
436 | ce.create_object = pdflib_object_new; | |
| ^~~~~~~~~~~~~~~~~ | |
| pdflib_object | |
/tmp/pear/temp/pdflib/pdf.c:443:56: error: expected ')' before 'TSRMLS_CC' | |
443 | pdflib_class = zend_register_internal_class(&ce TSRMLS_CC); | |
| ^~~~~~~~~~ | |
| ) | |
/tmp/pear/temp/pdflib/pdf.c: In function 'zim_PDFlibException_get_apiname': | |
/tmp/pear/temp/pdflib/pdf.c:468:25: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] | |
468 | this_ptr, "apiname", sizeof("apiname")-1, 1, &rv)); | |
| ^~~~~~~~ | |
| | | |
| zval * {aka struct _zval_struct *} | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:469:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} | |
469 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, bool silent, zval *rv); | |
| ~~~~~~~~~~~~~^~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:480:1: error: expected ';' before '}' token | |
480 | } | |
| ^ | |
/tmp/pear/temp/pdflib/pdf.c: In function 'zim_PDFlibException_get_errmsg': | |
/tmp/pear/temp/pdflib/pdf.c:488:74: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] | |
488 | message = zval_get_string(zend_read_property(pdflib_exception_class, this_ptr, "message", | |
| ^~~~~~~~ | |
| | | |
| zval * {aka struct _zval_struct *} | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:469:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} | |
469 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, bool silent, zval *rv); | |
| ~~~~~~~~~~~~~^~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:501:1: error: expected ';' before '}' token | |
501 | } | |
| ^ | |
/tmp/pear/temp/pdflib/pdf.c: In function 'zim_PDFlibException_get_errnum': | |
/tmp/pear/temp/pdflib/pdf.c:510:55: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] | |
510 | code = zend_read_property(pdflib_exception_class, this_ptr, "code", | |
| ^~~~~~~~ | |
| | | |
| zval * {aka struct _zval_struct *} | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:469:73: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} | |
469 | ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, bool silent, zval *rv); | |
| ~~~~~~~~~~~~~^~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_activate_item': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:22:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
22 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:24:62: error: expected ')' before 'TSRMLS_CC' | |
24 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:24:24: error: too few arguments to function 'zend_parse_parameters' | |
24 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:26:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
26 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' | |
36 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' | |
36 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' | |
36 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:38:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
38 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:42:66: error: expected ')' before 'TSRMLS_CC' | |
42 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:42:28: error: too few arguments to function 'zend_parse_parameters' | |
42 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:44:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
44 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:48:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
48 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:59:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
59 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:144:5: warning: implicit declaration of function '_pdf_exception' [-Wimplicit-function-declaration] | |
144 | _pdf_exception(PDF_get_errnum(pdf), PDF_get_apiname(pdf), \ | |
| ^~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:63:7: note: in expansion of macro 'pdf_catch' | |
63 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:63:7: note: in expansion of macro 'pdf_catch' | |
63 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_bookmark': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:102:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
102 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:104:62: error: expected ')' before 'TSRMLS_CC' | |
104 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:104:24: error: too few arguments to function 'zend_parse_parameters' | |
104 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:106:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
106 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' | |
118 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' | |
118 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' | |
118 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:120:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
120 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:124:66: error: expected ')' before 'TSRMLS_CC' | |
124 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:124:28: error: too few arguments to function 'zend_parse_parameters' | |
124 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:126:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
126 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:132:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
132 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:143:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
143 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:144:23: error: expected ')' before 'TSRMLS_CC' | |
144 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_bookmark()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:144:1: error: too few arguments to function 'php_error_docref' | |
144 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_bookmark()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:148:7: note: in expansion of macro 'pdf_catch' | |
148 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_launchlink': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:178:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
178 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:180:62: error: expected ')' before 'TSRMLS_CC' | |
180 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:180:24: error: too few arguments to function 'zend_parse_parameters' | |
180 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:182:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
182 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' | |
193 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' | |
193 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' | |
193 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:195:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
195 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:199:66: error: expected ')' before 'TSRMLS_CC' | |
199 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:199:28: error: too few arguments to function 'zend_parse_parameters' | |
199 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:201:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
201 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:206:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
206 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:217:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
217 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:218:23: error: expected ')' before 'TSRMLS_CC' | |
218 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:218:1: error: too few arguments to function 'php_error_docref' | |
218 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:222:7: note: in expansion of macro 'pdf_catch' | |
222 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_locallink': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:258:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
258 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:260:62: error: expected ')' before 'TSRMLS_CC' | |
260 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:260:24: error: too few arguments to function 'zend_parse_parameters' | |
260 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:262:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
262 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' | |
273 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' | |
273 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' | |
273 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:275:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
275 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:279:66: error: expected ')' before 'TSRMLS_CC' | |
279 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:279:28: error: too few arguments to function 'zend_parse_parameters' | |
279 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:281:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
281 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:286:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
286 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:297:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
297 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:298:23: error: expected ')' before 'TSRMLS_CC' | |
298 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:298:1: error: too few arguments to function 'php_error_docref' | |
298 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:302:7: note: in expansion of macro 'pdf_catch' | |
302 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_nameddest': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:334:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
334 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:336:62: error: expected ')' before 'TSRMLS_CC' | |
336 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:336:24: error: too few arguments to function 'zend_parse_parameters' | |
336 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:338:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
338 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:353:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
353 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:357:66: error: expected ')' before 'TSRMLS_CC' | |
357 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:357:28: error: too few arguments to function 'zend_parse_parameters' | |
357 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:359:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
359 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
366 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
377 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:381:7: note: in expansion of macro 'pdf_catch' | |
381 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_note': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:429:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
429 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:431:62: error: expected ')' before 'TSRMLS_CC' | |
431 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:431:24: error: too few arguments to function 'zend_parse_parameters' | |
431 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:433:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
433 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' | |
448 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' | |
448 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' | |
448 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:450:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
450 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:454:66: error: expected ')' before 'TSRMLS_CC' | |
454 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:454:28: error: too few arguments to function 'zend_parse_parameters' | |
454 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:456:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
456 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:465:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
465 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:476:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
476 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:477:23: error: expected ')' before 'TSRMLS_CC' | |
477 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:477:1: error: too few arguments to function 'php_error_docref' | |
477 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:481:7: note: in expansion of macro 'pdf_catch' | |
481 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_path_point': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:523:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
523 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:525:62: error: expected ')' before 'TSRMLS_CC' | |
525 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:525:24: error: too few arguments to function 'zend_parse_parameters' | |
525 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:527:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
527 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:539:9: note: in expansion of macro 'P_FROM_OBJECT' | |
539 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:539:9: note: in expansion of macro 'P_FROM_OBJECT' | |
539 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:539:9: note: in expansion of macro 'P_FROM_OBJECT' | |
539 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:541:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
541 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:545:66: error: expected ')' before 'TSRMLS_CC' | |
545 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:545:28: error: too few arguments to function 'zend_parse_parameters' | |
545 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:547:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
547 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:553:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
553 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:564:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
564 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:568:7: note: in expansion of macro 'pdf_catch' | |
568 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_pdflink': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:611:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
611 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:613:62: error: expected ')' before 'TSRMLS_CC' | |
613 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:613:24: error: too few arguments to function 'zend_parse_parameters' | |
613 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:615:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
615 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' | |
627 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' | |
627 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' | |
627 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:629:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
629 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:633:66: error: expected ')' before 'TSRMLS_CC' | |
633 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:633:28: error: too few arguments to function 'zend_parse_parameters' | |
633 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:635:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
635 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:641:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
641 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:652:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
652 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:653:23: error: expected ')' before 'TSRMLS_CC' | |
653 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:653:1: error: too few arguments to function 'php_error_docref' | |
653 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:657:7: note: in expansion of macro 'pdf_catch' | |
657 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_portfolio_file': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:697:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
697 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:699:62: error: expected ')' before 'TSRMLS_CC' | |
699 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:699:24: error: too few arguments to function 'zend_parse_parameters' | |
699 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:701:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
701 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:713:9: note: in expansion of macro 'P_FROM_OBJECT' | |
713 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:713:9: note: in expansion of macro 'P_FROM_OBJECT' | |
713 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:713:9: note: in expansion of macro 'P_FROM_OBJECT' | |
713 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:715:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
715 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:719:66: error: expected ')' before 'TSRMLS_CC' | |
719 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:719:28: error: too few arguments to function 'zend_parse_parameters' | |
719 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:721:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
721 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:727:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
727 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:738:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
738 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:742:7: note: in expansion of macro 'pdf_catch' | |
742 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_portfolio_folder': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:783:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
783 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:785:62: error: expected ')' before 'TSRMLS_CC' | |
785 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:785:24: error: too few arguments to function 'zend_parse_parameters' | |
785 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:787:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
787 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:799:9: note: in expansion of macro 'P_FROM_OBJECT' | |
799 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:799:9: note: in expansion of macro 'P_FROM_OBJECT' | |
799 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:799:9: note: in expansion of macro 'P_FROM_OBJECT' | |
799 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:801:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
801 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:805:66: error: expected ')' before 'TSRMLS_CC' | |
805 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:805:28: error: too few arguments to function 'zend_parse_parameters' | |
805 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:807:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
807 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:813:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
813 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:824:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
824 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:828:7: note: in expansion of macro 'pdf_catch' | |
828 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_table_cell': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:880:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
880 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:882:62: error: expected ')' before 'TSRMLS_CC' | |
882 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:882:24: error: too few arguments to function 'zend_parse_parameters' | |
882 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:884:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
884 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' | |
897 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' | |
897 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' | |
897 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:899:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
899 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:903:66: error: expected ')' before 'TSRMLS_CC' | |
903 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:903:28: error: too few arguments to function 'zend_parse_parameters' | |
903 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:905:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
905 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:912:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
912 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:923:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
923 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:927:7: note: in expansion of macro 'pdf_catch' | |
927 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_textflow': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:966:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
966 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:968:62: error: expected ')' before 'TSRMLS_CC' | |
968 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:968:24: error: too few arguments to function 'zend_parse_parameters' | |
968 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:970:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
970 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' | |
983 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' | |
983 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' | |
983 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:985:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
985 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:989:66: error: expected ')' before 'TSRMLS_CC' | |
989 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:989:28: error: too few arguments to function 'zend_parse_parameters' | |
989 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:991:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
991 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:998:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
998 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1009:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1009 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1013:7: note: in expansion of macro 'pdf_catch' | |
1013 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_thumbnail': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1039:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1039 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1041:62: error: expected ')' before 'TSRMLS_CC' | |
1041 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1041:24: error: too few arguments to function 'zend_parse_parameters' | |
1041 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1043:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1043 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1053 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1053 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1053 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1055:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1055 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1059:66: error: expected ')' before 'TSRMLS_CC' | |
1059 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1059:28: error: too few arguments to function 'zend_parse_parameters' | |
1059 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1061:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1061 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1065:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1065 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1076:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1076 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1078:23: error: expected ')' before 'TSRMLS_CC' | |
1078 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1078:1: error: too few arguments to function 'php_error_docref' | |
1078 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1083:7: note: in expansion of macro 'pdf_catch' | |
1083 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_add_weblink': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1113:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1113 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1115:62: error: expected ')' before 'TSRMLS_CC' | |
1115 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1115:24: error: too few arguments to function 'zend_parse_parameters' | |
1115 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1117:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1117 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1128 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1128 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1128 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1130:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1130 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1134:66: error: expected ')' before 'TSRMLS_CC' | |
1134 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1134:28: error: too few arguments to function 'zend_parse_parameters' | |
1134 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1136:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1136 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1141:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1141 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1152:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1152 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1153:23: error: expected ')' before 'TSRMLS_CC' | |
1153 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1153:1: error: too few arguments to function 'php_error_docref' | |
1153 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1157:7: note: in expansion of macro 'pdf_catch' | |
1157 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_align': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1180:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1180 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1182:62: error: expected ')' before 'TSRMLS_CC' | |
1182 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1182:24: error: too few arguments to function 'zend_parse_parameters' | |
1182 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1184:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1184 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1196:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1196 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1200:66: error: expected ')' before 'TSRMLS_CC' | |
1200 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1200:28: error: too few arguments to function 'zend_parse_parameters' | |
1200 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1202:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1202 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1206:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1206 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1217:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1217 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1221:7: note: in expansion of macro 'pdf_catch' | |
1221 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_arc': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1247:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1247 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1249:62: error: expected ')' before 'TSRMLS_CC' | |
1249 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1249:24: error: too few arguments to function 'zend_parse_parameters' | |
1249 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1251:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1251 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1261 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1261 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1261 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1263:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1263 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1267:66: error: expected ')' before 'TSRMLS_CC' | |
1267 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1267:28: error: too few arguments to function 'zend_parse_parameters' | |
1267 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1269:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1269 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1273:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1273 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1284:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1284 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1288:7: note: in expansion of macro 'pdf_catch' | |
1288 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_arcn': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1313:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1313 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1315:62: error: expected ')' before 'TSRMLS_CC' | |
1315 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1315:24: error: too few arguments to function 'zend_parse_parameters' | |
1315 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1317:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1317 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1327 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1327 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1327 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1329:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1329 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1333:66: error: expected ')' before 'TSRMLS_CC' | |
1333 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1333:28: error: too few arguments to function 'zend_parse_parameters' | |
1333 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1335:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1335 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1339:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1339 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1350:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1350 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1354:7: note: in expansion of macro 'pdf_catch' | |
1354 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_attach_file': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1408:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1408 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1410:62: error: expected ')' before 'TSRMLS_CC' | |
1410 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1410:24: error: too few arguments to function 'zend_parse_parameters' | |
1410 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1412:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1412 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1429 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1429 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1429 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1431:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1431 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1435:66: error: expected ')' before 'TSRMLS_CC' | |
1435 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1435:28: error: too few arguments to function 'zend_parse_parameters' | |
1435 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1437:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1437 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1448:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1448 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1459:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1459 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1460:23: error: expected ')' before 'TSRMLS_CC' | |
1460 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1460:1: error: too few arguments to function 'php_error_docref' | |
1460 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1464:7: note: in expansion of macro 'pdf_catch' | |
1464 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_document': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1497:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1497 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1499:62: error: expected ')' before 'TSRMLS_CC' | |
1499 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1499:24: error: too few arguments to function 'zend_parse_parameters' | |
1499 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1501:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1501 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1513 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1513 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1513 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1515:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1515 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1519:66: error: expected ')' before 'TSRMLS_CC' | |
1519 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1519:28: error: too few arguments to function 'zend_parse_parameters' | |
1519 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1521:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1521 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1527:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1527 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1538:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1538 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1541:41: error: expected ')' before 'TSRMLS_CC' | |
1541 | if (php_check_open_basedir(filename TSRMLS_CC)) { | |
| ^~~~~~~~~~ | |
| ) | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1548:7: note: in expansion of macro 'pdf_catch' | |
1548 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_dpart': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1575:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1575 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1577:62: error: expected ')' before 'TSRMLS_CC' | |
1577 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1577:24: error: too few arguments to function 'zend_parse_parameters' | |
1577 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1579:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1579 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1590:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1590 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1590:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1590 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1590:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1590 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1592:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1592 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1596:66: error: expected ')' before 'TSRMLS_CC' | |
1596 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1596:28: error: too few arguments to function 'zend_parse_parameters' | |
1596 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1598:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1598 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1603:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1603 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1614:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1614 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1618:7: note: in expansion of macro 'pdf_catch' | |
1618 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_font': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1657:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1657 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1659:62: error: expected ')' before 'TSRMLS_CC' | |
1659 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1659:24: error: too few arguments to function 'zend_parse_parameters' | |
1659 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1661:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1661 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1675:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1675 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1679:66: error: expected ')' before 'TSRMLS_CC' | |
1679 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1679:28: error: too few arguments to function 'zend_parse_parameters' | |
1679 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1681:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1681 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1687:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1687 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1698:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1698 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1702:7: note: in expansion of macro 'pdf_catch' | |
1702 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_glyph': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1733:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1733 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1735:62: error: expected ')' before 'TSRMLS_CC' | |
1735 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1735:24: error: too few arguments to function 'zend_parse_parameters' | |
1735 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1737:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1737 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1748 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1748 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1748 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1750:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1750 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1754:66: error: expected ')' before 'TSRMLS_CC' | |
1754 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1754:28: error: too few arguments to function 'zend_parse_parameters' | |
1754 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1756:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1756 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1761:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1761 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1772:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1772 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1774:23: error: expected ')' before 'TSRMLS_CC' | |
1774 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_glyph_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1774:1: error: too few arguments to function 'php_error_docref' | |
1774 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_glyph_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1779:7: note: in expansion of macro 'pdf_catch' | |
1779 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_glyph_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1812:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1812 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1814:62: error: expected ')' before 'TSRMLS_CC' | |
1814 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1814:24: error: too few arguments to function 'zend_parse_parameters' | |
1814 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1816:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1816 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1827:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1827 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1827:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1827 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1827:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1827 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1829:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1829 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1833:66: error: expected ')' before 'TSRMLS_CC' | |
1833 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1833:28: error: too few arguments to function 'zend_parse_parameters' | |
1833 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1835:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1835 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1840:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1840 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1851:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1851 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1855:7: note: in expansion of macro 'pdf_catch' | |
1855 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_item': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1889:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1889 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1891:62: error: expected ')' before 'TSRMLS_CC' | |
1891 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1891:24: error: too few arguments to function 'zend_parse_parameters' | |
1891 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1893:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1893 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1905 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1905 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1905 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1907:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1907 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1911:66: error: expected ')' before 'TSRMLS_CC' | |
1911 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1911:28: error: too few arguments to function 'zend_parse_parameters' | |
1911 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1913:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1913 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1919:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1919 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1930:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1930 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1934:7: note: in expansion of macro 'pdf_catch' | |
1934 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_layer': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1960:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1960 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1962:62: error: expected ')' before 'TSRMLS_CC' | |
1962 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1962:24: error: too few arguments to function 'zend_parse_parameters' | |
1962 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1964:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1964 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1974 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1974 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' | |
1974 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1976:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
1976 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:1980:66: error: expected ')' before 'TSRMLS_CC' | |
1980 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1980:28: error: too few arguments to function 'zend_parse_parameters' | |
1980 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1982:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1982 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1986:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
1986 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:1997:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
1997 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2001:7: note: in expansion of macro 'pdf_catch' | |
2001 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_mc': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2033:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2033 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2035:62: error: expected ')' before 'TSRMLS_CC' | |
2035 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2035:24: error: too few arguments to function 'zend_parse_parameters' | |
2035 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2037:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2037 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2049 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2049 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2049 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2051:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2051 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2055:66: error: expected ')' before 'TSRMLS_CC' | |
2055 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2055:28: error: too few arguments to function 'zend_parse_parameters' | |
2055 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2057:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2057 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2063:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2063 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2074:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2074 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2078:7: note: in expansion of macro 'pdf_catch' | |
2078 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2100:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2100 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2102:62: error: expected ')' before 'TSRMLS_CC' | |
2102 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2102:24: error: too few arguments to function 'zend_parse_parameters' | |
2102 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2104:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2104 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2116:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2116 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2120:66: error: expected ')' before 'TSRMLS_CC' | |
2120 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2120:28: error: too few arguments to function 'zend_parse_parameters' | |
2120 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2122:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2122 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2126:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2126 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2137:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2137 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2138:23: error: expected ')' before 'TSRMLS_CC' | |
2138 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_page_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2138:1: error: too few arguments to function 'php_error_docref' | |
2138 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_page_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2142:7: note: in expansion of macro 'pdf_catch' | |
2142 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_page_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2170:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2170 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2172:62: error: expected ')' before 'TSRMLS_CC' | |
2172 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2172:24: error: too few arguments to function 'zend_parse_parameters' | |
2172 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2174:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2174 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2185 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2185 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2185 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2187:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2187 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2191:66: error: expected ')' before 'TSRMLS_CC' | |
2191 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2191:28: error: too few arguments to function 'zend_parse_parameters' | |
2191 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2193:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2193 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2198:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2198 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2209:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2209 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2213:7: note: in expansion of macro 'pdf_catch' | |
2213 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_pattern': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2244:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2244 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2246:62: error: expected ')' before 'TSRMLS_CC' | |
2246 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2246:24: error: too few arguments to function 'zend_parse_parameters' | |
2246 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2248:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2248 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2258 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2258 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2258 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2260:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2260 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2264:66: error: expected ')' before 'TSRMLS_CC' | |
2264 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2264:28: error: too few arguments to function 'zend_parse_parameters' | |
2264 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2266:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2266 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2270:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2270 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2281:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2281 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2283:23: error: expected ')' before 'TSRMLS_CC' | |
2283 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_pattern_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2283:1: error: too few arguments to function 'php_error_docref' | |
2283 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_pattern_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2288:7: note: in expansion of macro 'pdf_catch' | |
2288 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_pattern_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2318:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2318 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2320:62: error: expected ')' before 'TSRMLS_CC' | |
2320 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2320:24: error: too few arguments to function 'zend_parse_parameters' | |
2320 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2322:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2322 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2333:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2333 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2333:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2333 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2333:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2333 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2335:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2335 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2339:66: error: expected ')' before 'TSRMLS_CC' | |
2339 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2339:28: error: too few arguments to function 'zend_parse_parameters' | |
2339 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2341:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2341 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2346:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2346 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2357:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2357 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2361:7: note: in expansion of macro 'pdf_catch' | |
2361 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_template': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2385:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2385 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2387:62: error: expected ')' before 'TSRMLS_CC' | |
2387 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2387:24: error: too few arguments to function 'zend_parse_parameters' | |
2387 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2389:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2389 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2399 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2399 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2399 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2401:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2401 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2405:66: error: expected ')' before 'TSRMLS_CC' | |
2405 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2405:28: error: too few arguments to function 'zend_parse_parameters' | |
2405 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2407:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2407 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2411:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2411 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2422:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2422 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2423:23: error: expected ')' before 'TSRMLS_CC' | |
2423 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_template_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2423:1: error: too few arguments to function 'php_error_docref' | |
2423 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_template_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2427:7: note: in expansion of macro 'pdf_catch' | |
2427 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_begin_template_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2456:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2456 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2458:62: error: expected ')' before 'TSRMLS_CC' | |
2458 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2458:24: error: too few arguments to function 'zend_parse_parameters' | |
2458 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2460:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2460 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2471 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2471 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2471 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2473:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2473 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2477:66: error: expected ')' before 'TSRMLS_CC' | |
2477 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2477:28: error: too few arguments to function 'zend_parse_parameters' | |
2477 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2479:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2479 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2484:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2484 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2495:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2495 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2499:7: note: in expansion of macro 'pdf_catch' | |
2499 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_circle': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2522:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2522 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2524:62: error: expected ')' before 'TSRMLS_CC' | |
2524 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2524:24: error: too few arguments to function 'zend_parse_parameters' | |
2524 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2526:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2526 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2536 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2536 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2536 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2538:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2538 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2542:66: error: expected ')' before 'TSRMLS_CC' | |
2542 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2542:28: error: too few arguments to function 'zend_parse_parameters' | |
2542 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2544:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2544 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2548:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2548 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2559:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2559 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2563:7: note: in expansion of macro 'pdf_catch' | |
2563 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_circular_arc': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2588:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2588 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2590:62: error: expected ')' before 'TSRMLS_CC' | |
2590 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2590:24: error: too few arguments to function 'zend_parse_parameters' | |
2590 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2592:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2592 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2602:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2602 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2602:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2602 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2602:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2602 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2604:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2604 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2608:66: error: expected ')' before 'TSRMLS_CC' | |
2608 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2608:28: error: too few arguments to function 'zend_parse_parameters' | |
2608 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2610:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2610 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2614:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2614 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2625:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2625 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2629:7: note: in expansion of macro 'pdf_catch' | |
2629 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_clip': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2650:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2650 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2652:62: error: expected ')' before 'TSRMLS_CC' | |
2652 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2652:24: error: too few arguments to function 'zend_parse_parameters' | |
2652 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2654:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2654 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2664 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2664 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2664 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2666:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2666 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2670:66: error: expected ')' before 'TSRMLS_CC' | |
2670 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2670:28: error: too few arguments to function 'zend_parse_parameters' | |
2670 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2672:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2672 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2676:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2676 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2687:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2687 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2691:7: note: in expansion of macro 'pdf_catch' | |
2691 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2711:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2711 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2713:62: error: expected ')' before 'TSRMLS_CC' | |
2713 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2713:24: error: too few arguments to function 'zend_parse_parameters' | |
2713 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2715:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2715 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2725 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2725 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2725 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2727:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2727 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2731:66: error: expected ')' before 'TSRMLS_CC' | |
2731 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2731:28: error: too few arguments to function 'zend_parse_parameters' | |
2731 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2733:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2733 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2737:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2737 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2748:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2748 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2749:23: error: expected ')' before 'TSRMLS_CC' | |
2749 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_document()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2749:1: error: too few arguments to function 'php_error_docref' | |
2749 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_document()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2753:7: note: in expansion of macro 'pdf_catch' | |
2753 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_font': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2780:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2780 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2782:62: error: expected ')' before 'TSRMLS_CC' | |
2782 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2782:24: error: too few arguments to function 'zend_parse_parameters' | |
2782 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2784:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2784 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2794:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2794 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2794:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2794 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2794:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2794 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2796:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2796 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2800:66: error: expected ')' before 'TSRMLS_CC' | |
2800 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2800:28: error: too few arguments to function 'zend_parse_parameters' | |
2800 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2802:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2802 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2806:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2806 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2817:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2817 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2821:7: note: in expansion of macro 'pdf_catch' | |
2821 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_graphics': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2849:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2849 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2851:62: error: expected ')' before 'TSRMLS_CC' | |
2851 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2851:24: error: too few arguments to function 'zend_parse_parameters' | |
2851 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2853:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2853 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2865:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2865 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2869:66: error: expected ')' before 'TSRMLS_CC' | |
2869 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2869:28: error: too few arguments to function 'zend_parse_parameters' | |
2869 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2871:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2871 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2875:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2875 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2886:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2886 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2890:7: note: in expansion of macro 'pdf_catch' | |
2890 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_image': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2917:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2917 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2919:62: error: expected ')' before 'TSRMLS_CC' | |
2919 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2919:24: error: too few arguments to function 'zend_parse_parameters' | |
2919 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2921:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2921 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2931 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2931 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2931 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2933:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2933 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2937:66: error: expected ')' before 'TSRMLS_CC' | |
2937 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2937:28: error: too few arguments to function 'zend_parse_parameters' | |
2937 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2939:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2939 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2943:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
2943 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2954:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2954 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2958:7: note: in expansion of macro 'pdf_catch' | |
2958 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_pdi': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2984:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
2984 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:2986:62: error: expected ')' before 'TSRMLS_CC' | |
2986 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2986:24: error: too few arguments to function 'zend_parse_parameters' | |
2986 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2988:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
2988 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2998 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2998 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' | |
2998 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3000:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3000 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3004:66: error: expected ')' before 'TSRMLS_CC' | |
3004 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3004:28: error: too few arguments to function 'zend_parse_parameters' | |
3004 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3006:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3006 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3010:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3010 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3021:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3021 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3022:23: error: expected ')' before 'TSRMLS_CC' | |
3022 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_close_pdi_document()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3022:1: error: too few arguments to function 'php_error_docref' | |
3022 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_close_pdi_document()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3026:7: note: in expansion of macro 'pdf_catch' | |
3026 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_pdi_document': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3052:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3052 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3054:62: error: expected ')' before 'TSRMLS_CC' | |
3054 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3054:24: error: too few arguments to function 'zend_parse_parameters' | |
3054 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3056:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3056 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3066 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3066 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3066 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3068:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3068 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3072:66: error: expected ')' before 'TSRMLS_CC' | |
3072 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3072:28: error: too few arguments to function 'zend_parse_parameters' | |
3072 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3074:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3074 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3078:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3078 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3089:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3089 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3093:7: note: in expansion of macro 'pdf_catch' | |
3093 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_close_pdi_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3119:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3119 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3121:62: error: expected ')' before 'TSRMLS_CC' | |
3121 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3121:24: error: too few arguments to function 'zend_parse_parameters' | |
3121 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3123:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3123 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3135:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3135 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3139:66: error: expected ')' before 'TSRMLS_CC' | |
3139 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3139:28: error: too few arguments to function 'zend_parse_parameters' | |
3139 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3141:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3141 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3145:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3145 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3156:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3156 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3160:7: note: in expansion of macro 'pdf_catch' | |
3160 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_closepath': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3180:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3180 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3182:62: error: expected ')' before 'TSRMLS_CC' | |
3182 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3182:24: error: too few arguments to function 'zend_parse_parameters' | |
3182 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3184:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3184 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3194 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3196:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3196 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3200:66: error: expected ')' before 'TSRMLS_CC' | |
3200 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3200:28: error: too few arguments to function 'zend_parse_parameters' | |
3200 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3202:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3202 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3206:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3206 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3217:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3217 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3221:7: note: in expansion of macro 'pdf_catch' | |
3221 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_closepath_fill_stroke': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3241:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3241 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3243:62: error: expected ')' before 'TSRMLS_CC' | |
3243 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3243:24: error: too few arguments to function 'zend_parse_parameters' | |
3243 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3245:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3245 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3255 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3255 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3255 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3257:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3257 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3261:66: error: expected ')' before 'TSRMLS_CC' | |
3261 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3261:28: error: too few arguments to function 'zend_parse_parameters' | |
3261 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3263:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3263 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3267:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3267 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3278:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3278 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3282:7: note: in expansion of macro 'pdf_catch' | |
3282 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_closepath_stroke': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3302:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3302 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3304:62: error: expected ')' before 'TSRMLS_CC' | |
3304 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3304:24: error: too few arguments to function 'zend_parse_parameters' | |
3304 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3306:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3306 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3316 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3316 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3316 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3318:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3318 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3322:66: error: expected ')' before 'TSRMLS_CC' | |
3322 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3322:28: error: too few arguments to function 'zend_parse_parameters' | |
3322 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3324:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3324 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3328:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3328 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3339:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3339 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3343:7: note: in expansion of macro 'pdf_catch' | |
3343 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_concat': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3369:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3369 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3371:62: error: expected ')' before 'TSRMLS_CC' | |
3371 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3371:24: error: too few arguments to function 'zend_parse_parameters' | |
3371 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3373:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3373 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3383 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3383 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3383 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3385:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3385 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3389:66: error: expected ')' before 'TSRMLS_CC' | |
3389 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3389:28: error: too few arguments to function 'zend_parse_parameters' | |
3389 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3391:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3391 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3395:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3395 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3406:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3406 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3410:7: note: in expansion of macro 'pdf_catch' | |
3410 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_continue_text': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3436:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3436 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3438:62: error: expected ')' before 'TSRMLS_CC' | |
3438 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3438:24: error: too few arguments to function 'zend_parse_parameters' | |
3438 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3440:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3440 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3452 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3452 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3452 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3454:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3454 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3458:66: error: expected ')' before 'TSRMLS_CC' | |
3458 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3458:28: error: too few arguments to function 'zend_parse_parameters' | |
3458 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3460:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3460 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3466:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3466 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3477:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3477 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3481:7: note: in expansion of macro 'pdf_catch' | |
3481 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_convert_to_unicode': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3522:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3522 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3524:62: error: expected ')' before 'TSRMLS_CC' | |
3524 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3524:24: error: too few arguments to function 'zend_parse_parameters' | |
3524 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3526:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3526 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3540:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3540 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3540:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3540 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3540:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3540 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3542:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3542 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3546:66: error: expected ')' before 'TSRMLS_CC' | |
3546 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3546:28: error: too few arguments to function 'zend_parse_parameters' | |
3546 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3548:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3548 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3556:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3556 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3567:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3567 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3571:7: note: in expansion of macro 'pdf_catch' | |
3571 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_3dview': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3618:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3618 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3620:62: error: expected ')' before 'TSRMLS_CC' | |
3620 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3620:24: error: too few arguments to function 'zend_parse_parameters' | |
3620 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3622:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3622 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3634 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3634 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3634 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3636:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3636 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3640:66: error: expected ')' before 'TSRMLS_CC' | |
3640 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3640:28: error: too few arguments to function 'zend_parse_parameters' | |
3640 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3642:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3642 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3648:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3648 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3659:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3659 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3663:7: note: in expansion of macro 'pdf_catch' | |
3663 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_action': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3696:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3696 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3698:62: error: expected ')' before 'TSRMLS_CC' | |
3698 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3698:24: error: too few arguments to function 'zend_parse_parameters' | |
3698 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3700:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3700 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3712 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3712 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3712 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3714:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3714 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3718:66: error: expected ')' before 'TSRMLS_CC' | |
3718 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3718:28: error: too few arguments to function 'zend_parse_parameters' | |
3718 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3720:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3720 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3726:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3726 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3737:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3737 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3741:7: note: in expansion of macro 'pdf_catch' | |
3741 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_annotation': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3777:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3777 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3779:62: error: expected ')' before 'TSRMLS_CC' | |
3779 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3779:24: error: too few arguments to function 'zend_parse_parameters' | |
3779 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3781:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3781 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3793 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3793 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3793 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3795:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3795 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3799:66: error: expected ')' before 'TSRMLS_CC' | |
3799 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3799:28: error: too few arguments to function 'zend_parse_parameters' | |
3799 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3801:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3801 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3807:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3807 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3818:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3818 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3822:7: note: in expansion of macro 'pdf_catch' | |
3822 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_devicen': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3850:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3850 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3852:62: error: expected ')' before 'TSRMLS_CC' | |
3852 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3852:24: error: too few arguments to function 'zend_parse_parameters' | |
3852 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3854:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3854 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3865:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3865 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3865:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3865 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3865:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3865 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3867:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3867 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3871:66: error: expected ')' before 'TSRMLS_CC' | |
3871 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3871:28: error: too few arguments to function 'zend_parse_parameters' | |
3871 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3873:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3873 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3878:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3878 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3889:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3889 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3893:7: note: in expansion of macro 'pdf_catch' | |
3893 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_bookmark': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3927:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3927 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3929:62: error: expected ')' before 'TSRMLS_CC' | |
3929 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3929:24: error: too few arguments to function 'zend_parse_parameters' | |
3929 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3931:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3931 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3944 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3944 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' | |
3944 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3946:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
3946 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:3950:66: error: expected ')' before 'TSRMLS_CC' | |
3950 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3950:28: error: too few arguments to function 'zend_parse_parameters' | |
3950 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3952:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3952 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3959:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
3959 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3970:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
3970 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:3974:7: note: in expansion of macro 'pdf_catch' | |
3974 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_field': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4016:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4016 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4018:62: error: expected ')' before 'TSRMLS_CC' | |
4018 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4018:24: error: too few arguments to function 'zend_parse_parameters' | |
4018 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4020:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4020 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4034 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4034 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4034 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4036:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4036 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4040:66: error: expected ')' before 'TSRMLS_CC' | |
4040 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4040:28: error: too few arguments to function 'zend_parse_parameters' | |
4040 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4042:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4042 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4050:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4050 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4061:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4061 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4065:7: note: in expansion of macro 'pdf_catch' | |
4065 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_fieldgroup': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4097:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4097 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4099:62: error: expected ')' before 'TSRMLS_CC' | |
4099 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4099:24: error: too few arguments to function 'zend_parse_parameters' | |
4099 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4101:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4101 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4114 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4116:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4116 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4120:66: error: expected ')' before 'TSRMLS_CC' | |
4120 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4120:28: error: too few arguments to function 'zend_parse_parameters' | |
4120 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4122:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4122 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4129:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4129 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4140:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4140 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4144:7: note: in expansion of macro 'pdf_catch' | |
4144 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_gstate': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4171:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4171 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4173:62: error: expected ')' before 'TSRMLS_CC' | |
4173 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4173:24: error: too few arguments to function 'zend_parse_parameters' | |
4173 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4175:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4175 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4186 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4186 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4186 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4188:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4188 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4192:66: error: expected ')' before 'TSRMLS_CC' | |
4192 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4192:28: error: too few arguments to function 'zend_parse_parameters' | |
4192 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4194:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4194 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4199:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4199 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4210:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4210 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4214:7: note: in expansion of macro 'pdf_catch' | |
4214 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_pvf': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4252:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4252 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4254:62: error: expected ')' before 'TSRMLS_CC' | |
4254 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4254:24: error: too few arguments to function 'zend_parse_parameters' | |
4254 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4256:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4256 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4270 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4270 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4270 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4272:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4272 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4276:66: error: expected ')' before 'TSRMLS_CC' | |
4276 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4276:28: error: too few arguments to function 'zend_parse_parameters' | |
4276 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4278:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4278 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4286:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4286 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4297:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4297 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4301:7: note: in expansion of macro 'pdf_catch' | |
4301 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_create_textflow': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4334:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4334 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4336:62: error: expected ')' before 'TSRMLS_CC' | |
4336 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4336:24: error: too few arguments to function 'zend_parse_parameters' | |
4336 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4338:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4338 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4351 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4353:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4353 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4357:66: error: expected ')' before 'TSRMLS_CC' | |
4357 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4357:28: error: too few arguments to function 'zend_parse_parameters' | |
4357 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4359:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4359 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4366 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4377 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4381:7: note: in expansion of macro 'pdf_catch' | |
4381 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_curveto': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4407:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4407 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4409:62: error: expected ')' before 'TSRMLS_CC' | |
4409 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4409:24: error: too few arguments to function 'zend_parse_parameters' | |
4409 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4411:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4411 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4423:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4423 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4427:66: error: expected ')' before 'TSRMLS_CC' | |
4427 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4427:28: error: too few arguments to function 'zend_parse_parameters' | |
4427 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4429:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4429 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4433:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4433 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4444:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4444 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4448:7: note: in expansion of macro 'pdf_catch' | |
4448 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_define_layer': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4481:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4481 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4483:62: error: expected ')' before 'TSRMLS_CC' | |
4483 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4483:24: error: too few arguments to function 'zend_parse_parameters' | |
4483 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4485:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4485 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4498 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4498 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4498 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4500:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4500 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4504:66: error: expected ')' before 'TSRMLS_CC' | |
4504 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4504:28: error: too few arguments to function 'zend_parse_parameters' | |
4504 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4506:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4506 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4513:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4513 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4524:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4524 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4528:7: note: in expansion of macro 'pdf_catch' | |
4528 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_delete_path': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4555:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4555 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4557:62: error: expected ')' before 'TSRMLS_CC' | |
4557 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4557:24: error: too few arguments to function 'zend_parse_parameters' | |
4557 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4559:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4559 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4569:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4569 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4569:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4569 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4569:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4569 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4571:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4571 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4575:66: error: expected ')' before 'TSRMLS_CC' | |
4575 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4575:28: error: too few arguments to function 'zend_parse_parameters' | |
4575 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4577:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4577 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4581:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4581 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4592:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4592 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4596:7: note: in expansion of macro 'pdf_catch' | |
4596 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_delete_pvf': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4624:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4624 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4626:62: error: expected ')' before 'TSRMLS_CC' | |
4626 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4626:24: error: too few arguments to function 'zend_parse_parameters' | |
4626 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4628:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4628 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4639 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4639 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4639 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4641:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4641 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4645:66: error: expected ')' before 'TSRMLS_CC' | |
4645 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4645:28: error: too few arguments to function 'zend_parse_parameters' | |
4645 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4647:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4647 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4652:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4652 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4663:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4663 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4667:7: note: in expansion of macro 'pdf_catch' | |
4667 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_delete_table': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4699:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4699 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4701:62: error: expected ')' before 'TSRMLS_CC' | |
4701 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4701:24: error: too few arguments to function 'zend_parse_parameters' | |
4701 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4703:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4703 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4714 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4714 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4714 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4716:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4716 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4720:66: error: expected ')' before 'TSRMLS_CC' | |
4720 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4720:28: error: too few arguments to function 'zend_parse_parameters' | |
4720 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4722:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4722 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4727:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4727 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4738:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4738 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4742:7: note: in expansion of macro 'pdf_catch' | |
4742 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_delete_textflow': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4768:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4768 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4770:62: error: expected ')' before 'TSRMLS_CC' | |
4770 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4770:24: error: too few arguments to function 'zend_parse_parameters' | |
4770 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4772:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4772 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4782 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4782 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4782 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4784:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4784 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4788:66: error: expected ')' before 'TSRMLS_CC' | |
4788 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4788:28: error: too few arguments to function 'zend_parse_parameters' | |
4788 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4790:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4790 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4794:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4794 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4805:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4805 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4809:7: note: in expansion of macro 'pdf_catch' | |
4809 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_draw_path': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4844:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4844 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4846:62: error: expected ')' before 'TSRMLS_CC' | |
4846 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4846:24: error: too few arguments to function 'zend_parse_parameters' | |
4846 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4848:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4848 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4859:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4859 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4859:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4859 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4859:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4859 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4861:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4861 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4865:66: error: expected ')' before 'TSRMLS_CC' | |
4865 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4865:28: error: too few arguments to function 'zend_parse_parameters' | |
4865 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4867:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4867 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4872:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4872 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4883:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4883 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4887:7: note: in expansion of macro 'pdf_catch' | |
4887 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_ellipse': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4913:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4913 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4915:62: error: expected ')' before 'TSRMLS_CC' | |
4915 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4915:24: error: too few arguments to function 'zend_parse_parameters' | |
4915 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4917:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4917 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4927:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4927 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4927:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4927 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4927:9: note: in expansion of macro 'P_FROM_OBJECT' | |
4927 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4929:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4929 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4933:66: error: expected ')' before 'TSRMLS_CC' | |
4933 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4933:28: error: too few arguments to function 'zend_parse_parameters' | |
4933 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4935:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4935 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4939:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
4939 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4950:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4950 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4954:7: note: in expansion of macro 'pdf_catch' | |
4954 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_elliptical_arc': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4986:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
4986 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:4988:62: error: expected ')' before 'TSRMLS_CC' | |
4988 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4988:24: error: too few arguments to function 'zend_parse_parameters' | |
4988 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:4990:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
4990 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5001:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5001 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5001:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5001 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5001:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5001 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5003:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5003 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5007:66: error: expected ')' before 'TSRMLS_CC' | |
5007 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5007:28: error: too few arguments to function 'zend_parse_parameters' | |
5007 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5009:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5009 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5014:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5014 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5025:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5025 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5029:7: note: in expansion of macro 'pdf_catch' | |
5029 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_encoding_set_char': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5074:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5074 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5076:62: error: expected ')' before 'TSRMLS_CC' | |
5076 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5076:24: error: too few arguments to function 'zend_parse_parameters' | |
5076 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5078:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5078 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5090 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5090 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5090 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5092:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5092 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5096:66: error: expected ')' before 'TSRMLS_CC' | |
5096 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5096:28: error: too few arguments to function 'zend_parse_parameters' | |
5096 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5098:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5098 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5104:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5104 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5115:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5115 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5119:7: note: in expansion of macro 'pdf_catch' | |
5119 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_document': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5145:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5145 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5147:62: error: expected ')' before 'TSRMLS_CC' | |
5147 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5147:24: error: too few arguments to function 'zend_parse_parameters' | |
5147 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5149:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5149 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5160 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5160 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5160 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5162:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5162 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5166:66: error: expected ')' before 'TSRMLS_CC' | |
5166 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5166:28: error: too few arguments to function 'zend_parse_parameters' | |
5166 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5168:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5168 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5173:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5173 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5184:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5184 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5188:7: note: in expansion of macro 'pdf_catch' | |
5188 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_dpart': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5215:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5215 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5217:62: error: expected ')' before 'TSRMLS_CC' | |
5217 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5217:24: error: too few arguments to function 'zend_parse_parameters' | |
5217 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5219:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5219 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5230:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5230 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5230:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5230 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5230:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5230 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5232:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5232 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5236:66: error: expected ')' before 'TSRMLS_CC' | |
5236 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5236:28: error: too few arguments to function 'zend_parse_parameters' | |
5236 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5238:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5238 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5243:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5243 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5254:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5254 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5258:7: note: in expansion of macro 'pdf_catch' | |
5258 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_font': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5279:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5279 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5281:62: error: expected ')' before 'TSRMLS_CC' | |
5281 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5281:24: error: too few arguments to function 'zend_parse_parameters' | |
5281 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5283:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5283 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5293 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5293 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5293 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5295:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5295 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5299:66: error: expected ')' before 'TSRMLS_CC' | |
5299 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5299:28: error: too few arguments to function 'zend_parse_parameters' | |
5299 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5301:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5301 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5305:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5305 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5316:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5316 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5320:7: note: in expansion of macro 'pdf_catch' | |
5320 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_glyph': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5340:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5340 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5342:62: error: expected ')' before 'TSRMLS_CC' | |
5342 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5342:24: error: too few arguments to function 'zend_parse_parameters' | |
5342 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5344:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5344 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5354 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5354 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5354 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5356:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5356 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5360:66: error: expected ')' before 'TSRMLS_CC' | |
5360 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5360:28: error: too few arguments to function 'zend_parse_parameters' | |
5360 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5362:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5362 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5366 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5377 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5381:7: note: in expansion of macro 'pdf_catch' | |
5381 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_item': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5407:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5407 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5409:62: error: expected ')' before 'TSRMLS_CC' | |
5409 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5409:24: error: too few arguments to function 'zend_parse_parameters' | |
5409 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5411:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5411 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5421 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5423:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5423 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5427:66: error: expected ')' before 'TSRMLS_CC' | |
5427 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5427:28: error: too few arguments to function 'zend_parse_parameters' | |
5427 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5429:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5429 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5433:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5433 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5444:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5444 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5448:7: note: in expansion of macro 'pdf_catch' | |
5448 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_layer': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5468:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5468 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5470:62: error: expected ')' before 'TSRMLS_CC' | |
5470 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5470:24: error: too few arguments to function 'zend_parse_parameters' | |
5470 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5472:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5472 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5482 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5482 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5482 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5484:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5484 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5488:66: error: expected ')' before 'TSRMLS_CC' | |
5488 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5488:28: error: too few arguments to function 'zend_parse_parameters' | |
5488 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5490:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5490 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5494:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5494 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5505:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5505 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5509:7: note: in expansion of macro 'pdf_catch' | |
5509 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_mc': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5529:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5529 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5531:62: error: expected ')' before 'TSRMLS_CC' | |
5531 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5531:24: error: too few arguments to function 'zend_parse_parameters' | |
5531 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5533:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5533 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5543 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5543 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5543 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5545:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5545 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5549:66: error: expected ')' before 'TSRMLS_CC' | |
5549 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5549:28: error: too few arguments to function 'zend_parse_parameters' | |
5549 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5551:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5551 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5555:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5555 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5566:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5566 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5570:7: note: in expansion of macro 'pdf_catch' | |
5570 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5590:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5590 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5592:62: error: expected ')' before 'TSRMLS_CC' | |
5592 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5592:24: error: too few arguments to function 'zend_parse_parameters' | |
5592 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5594:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5594 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5604 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5604 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5604 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5606:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5606 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5610:66: error: expected ')' before 'TSRMLS_CC' | |
5610 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5610:28: error: too few arguments to function 'zend_parse_parameters' | |
5610 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5612:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5612 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5616:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5616 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5627:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5627 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5628:23: error: expected ')' before 'TSRMLS_CC' | |
5628 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_page_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5628:1: error: too few arguments to function 'php_error_docref' | |
5628 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_page_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5632:7: note: in expansion of macro 'pdf_catch' | |
5632 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_page_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5658:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5658 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5660:62: error: expected ')' before 'TSRMLS_CC' | |
5660 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5660:24: error: too few arguments to function 'zend_parse_parameters' | |
5660 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5662:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5662 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5673 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5675:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5675 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5679:66: error: expected ')' before 'TSRMLS_CC' | |
5679 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5679:28: error: too few arguments to function 'zend_parse_parameters' | |
5679 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5681:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5681 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5686:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5686 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5697:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5697 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5701:7: note: in expansion of macro 'pdf_catch' | |
5701 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_pattern': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5721:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5721 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5723:62: error: expected ')' before 'TSRMLS_CC' | |
5723 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5723:24: error: too few arguments to function 'zend_parse_parameters' | |
5723 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5725:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5725 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5735 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5735 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5735 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5737:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5737 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5741:66: error: expected ')' before 'TSRMLS_CC' | |
5741 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5741:28: error: too few arguments to function 'zend_parse_parameters' | |
5741 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5743:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5743 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5747:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5747 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5758:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5758 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5762:7: note: in expansion of macro 'pdf_catch' | |
5762 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_template': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5782:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5782 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5784:62: error: expected ')' before 'TSRMLS_CC' | |
5784 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5784:24: error: too few arguments to function 'zend_parse_parameters' | |
5784 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5786:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5786 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5796 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5796 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5796 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5798:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5798 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5802:66: error: expected ')' before 'TSRMLS_CC' | |
5802 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5802:28: error: too few arguments to function 'zend_parse_parameters' | |
5802 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5804:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5804 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5808:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5808 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5819:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5819 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5821:23: error: expected ')' before 'TSRMLS_CC' | |
5821 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_template_ext()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5821:1: error: too few arguments to function 'php_error_docref' | |
5821 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_template_ext()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5826:7: note: in expansion of macro 'pdf_catch' | |
5826 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_end_template_ext': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5849:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5849 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5851:62: error: expected ')' before 'TSRMLS_CC' | |
5851 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5851:24: error: too few arguments to function 'zend_parse_parameters' | |
5851 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5853:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5853 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5863:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5863 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5865:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5865 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5869:66: error: expected ')' before 'TSRMLS_CC' | |
5869 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5869:28: error: too few arguments to function 'zend_parse_parameters' | |
5869 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5871:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5871 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5875:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5875 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5886:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5886 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5890:7: note: in expansion of macro 'pdf_catch' | |
5890 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_endpath': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5911:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5911 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5913:62: error: expected ')' before 'TSRMLS_CC' | |
5913 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5913:24: error: too few arguments to function 'zend_parse_parameters' | |
5913 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5915:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5915 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5925 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5925 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5925 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5927:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5927 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5931:66: error: expected ')' before 'TSRMLS_CC' | |
5931 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5931:28: error: too few arguments to function 'zend_parse_parameters' | |
5931 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5933:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5933 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5937:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5937 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5948:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5948 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5952:7: note: in expansion of macro 'pdf_catch' | |
5952 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5972:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5972 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5974:62: error: expected ')' before 'TSRMLS_CC' | |
5974 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5974:24: error: too few arguments to function 'zend_parse_parameters' | |
5974 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5976:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5976 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5986 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5986 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' | |
5986 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5988:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
5988 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:5992:66: error: expected ')' before 'TSRMLS_CC' | |
5992 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5992:28: error: too few arguments to function 'zend_parse_parameters' | |
5992 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5994:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
5994 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:5998:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
5998 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6009:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6009 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6013:7: note: in expansion of macro 'pdf_catch' | |
6013 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill_graphicsblock': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6059:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6059 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6061:62: error: expected ')' before 'TSRMLS_CC' | |
6061 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6061:24: error: too few arguments to function 'zend_parse_parameters' | |
6061 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6063:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6063 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6075:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6075 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6075:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6075 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6075:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6075 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6077:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6077 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6081:66: error: expected ')' before 'TSRMLS_CC' | |
6081 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6081:28: error: too few arguments to function 'zend_parse_parameters' | |
6081 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6083:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6083 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6089:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6089 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6100:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6100 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6104:7: note: in expansion of macro 'pdf_catch' | |
6104 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill_imageblock': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6150:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6150 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6152:62: error: expected ')' before 'TSRMLS_CC' | |
6152 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6152:24: error: too few arguments to function 'zend_parse_parameters' | |
6152 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6154:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6154 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6166 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6166 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6166 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6168:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6168 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6172:66: error: expected ')' before 'TSRMLS_CC' | |
6172 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6172:28: error: too few arguments to function 'zend_parse_parameters' | |
6172 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6174:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6174 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6180:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6180 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6191:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6191 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6195:7: note: in expansion of macro 'pdf_catch' | |
6195 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill_pdfblock': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6240:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6240 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6242:62: error: expected ')' before 'TSRMLS_CC' | |
6242 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6242:24: error: too few arguments to function 'zend_parse_parameters' | |
6242 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6244:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6244 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6256 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6256 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6256 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6258:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6258 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6262:66: error: expected ')' before 'TSRMLS_CC' | |
6262 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6262:28: error: too few arguments to function 'zend_parse_parameters' | |
6262 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6264:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6264 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6270:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6270 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6281:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6281 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6285:7: note: in expansion of macro 'pdf_catch' | |
6285 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill_stroke': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6305:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6305 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6307:62: error: expected ')' before 'TSRMLS_CC' | |
6307 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6307:24: error: too few arguments to function 'zend_parse_parameters' | |
6307 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6309:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6309 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6319 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6319 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6319 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6321:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6321 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6325:66: error: expected ')' before 'TSRMLS_CC' | |
6325 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6325:28: error: too few arguments to function 'zend_parse_parameters' | |
6325 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6327:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6327 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6331:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6331 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6342:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6342 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6346:7: note: in expansion of macro 'pdf_catch' | |
6346 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fill_textblock': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6391:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6391 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6393:62: error: expected ')' before 'TSRMLS_CC' | |
6393 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6393:24: error: too few arguments to function 'zend_parse_parameters' | |
6393 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6395:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6395 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6409 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6409 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6409 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6411:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6411 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6415:66: error: expected ')' before 'TSRMLS_CC' | |
6415 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6415:28: error: too few arguments to function 'zend_parse_parameters' | |
6415 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6417:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6417 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6425:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6425 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6436:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6436 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6440:7: note: in expansion of macro 'pdf_catch' | |
6440 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_findfont': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6479:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6479 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6481:62: error: expected ')' before 'TSRMLS_CC' | |
6481 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6481:24: error: too few arguments to function 'zend_parse_parameters' | |
6481 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6483:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6483 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6495 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6495 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6495 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6497:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6497 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6501:66: error: expected ')' before 'TSRMLS_CC' | |
6501 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6501:28: error: too few arguments to function 'zend_parse_parameters' | |
6501 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6503:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6503 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6509:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6509 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6520:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6520 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6521:23: error: expected ')' before 'TSRMLS_CC' | |
6521 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_font()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6521:1: error: too few arguments to function 'php_error_docref' | |
6521 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_font()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6525:7: note: in expansion of macro 'pdf_catch' | |
6525 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_graphics': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6560:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6560 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6562:62: error: expected ')' before 'TSRMLS_CC' | |
6562 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6562:24: error: too few arguments to function 'zend_parse_parameters' | |
6562 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6564:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6564 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6575:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6575 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6575:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6575 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6575:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6575 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6577:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6577 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6581:66: error: expected ')' before 'TSRMLS_CC' | |
6581 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6581:28: error: too few arguments to function 'zend_parse_parameters' | |
6581 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6583:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6583 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6588:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6588 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6599:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6599 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6603:7: note: in expansion of macro 'pdf_catch' | |
6603 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_image': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6638:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6638 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6640:62: error: expected ')' before 'TSRMLS_CC' | |
6640 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6640:24: error: too few arguments to function 'zend_parse_parameters' | |
6640 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6642:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6642 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6653 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6653 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6653 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6655:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6655 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6659:66: error: expected ')' before 'TSRMLS_CC' | |
6659 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6659:28: error: too few arguments to function 'zend_parse_parameters' | |
6659 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6661:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6661 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6666:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6666 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6677:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6677 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6681:7: note: in expansion of macro 'pdf_catch' | |
6681 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_pdi_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6715:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6715 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6717:62: error: expected ')' before 'TSRMLS_CC' | |
6717 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6717:24: error: too few arguments to function 'zend_parse_parameters' | |
6717 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6719:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6719 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6730 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6730 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6730 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6732:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6732 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6736:66: error: expected ')' before 'TSRMLS_CC' | |
6736 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6736:28: error: too few arguments to function 'zend_parse_parameters' | |
6736 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6738:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6738 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6743:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6743 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6754:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6754 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6758:7: note: in expansion of macro 'pdf_catch' | |
6758 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_table': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6795:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6795 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6797:62: error: expected ')' before 'TSRMLS_CC' | |
6797 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6797:24: error: too few arguments to function 'zend_parse_parameters' | |
6797 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6799:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6799 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6810 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6810 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6810 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6812:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6812 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6816:66: error: expected ')' before 'TSRMLS_CC' | |
6816 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6816:28: error: too few arguments to function 'zend_parse_parameters' | |
6816 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6818:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6818 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6823:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6823 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6834:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6834 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6838:7: note: in expansion of macro 'pdf_catch' | |
6838 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_textflow': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6887:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6887 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6889:62: error: expected ')' before 'TSRMLS_CC' | |
6889 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6889:24: error: too few arguments to function 'zend_parse_parameters' | |
6889 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6891:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6891 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6902 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6902 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6902 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6904:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6904 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6908:66: error: expected ')' before 'TSRMLS_CC' | |
6908 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6908:28: error: too few arguments to function 'zend_parse_parameters' | |
6908 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6910:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6910 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6915:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
6915 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6926:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6926 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6930:7: note: in expansion of macro 'pdf_catch' | |
6930 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_fit_textline': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6976:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6976 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6978:62: error: expected ')' before 'TSRMLS_CC' | |
6978 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6978:24: error: too few arguments to function 'zend_parse_parameters' | |
6978 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6980:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
6980 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6993 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6993 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' | |
6993 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6995:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
6995 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:6999:66: error: expected ')' before 'TSRMLS_CC' | |
6999 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:6999:28: error: too few arguments to function 'zend_parse_parameters' | |
6999 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7001:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7001 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7008:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7008 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7019:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7019 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7023:7: note: in expansion of macro 'pdf_catch' | |
7023 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_apiname': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7044:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7044 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7046:62: error: expected ')' before 'TSRMLS_CC' | |
7046 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7046:24: error: too few arguments to function 'zend_parse_parameters' | |
7046 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7048:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7048 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7058 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7058 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7058 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7060:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7060 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7064:66: error: expected ')' before 'TSRMLS_CC' | |
7064 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7064:28: error: too few arguments to function 'zend_parse_parameters' | |
7064 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7066:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7066 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7070:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7070 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7081:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7081 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7085:7: note: in expansion of macro 'pdf_catch' | |
7085 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_buffer': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7119:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7119 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7121:62: error: expected ')' before 'TSRMLS_CC' | |
7121 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7121:24: error: too few arguments to function 'zend_parse_parameters' | |
7121 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7123:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7123 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7133 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7135:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7135 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7139:66: error: expected ')' before 'TSRMLS_CC' | |
7139 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7139:28: error: too few arguments to function 'zend_parse_parameters' | |
7139 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7141:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7141 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7145:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7145 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7156:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7156 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7160:7: note: in expansion of macro 'pdf_catch' | |
7160 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_errmsg': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7194:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7194 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7196:62: error: expected ')' before 'TSRMLS_CC' | |
7196 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7196:24: error: too few arguments to function 'zend_parse_parameters' | |
7196 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7198:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7198 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7208 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7208 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7208 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7210:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7210 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7214:66: error: expected ')' before 'TSRMLS_CC' | |
7214 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7214:28: error: too few arguments to function 'zend_parse_parameters' | |
7214 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7216:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7216 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7220:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7220 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7231:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7231 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7235:7: note: in expansion of macro 'pdf_catch' | |
7235 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_errnum': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7268:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7268 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7270:62: error: expected ')' before 'TSRMLS_CC' | |
7270 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7270:24: error: too few arguments to function 'zend_parse_parameters' | |
7270 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7272:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7272 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7282 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7282 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7282 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7284:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7284 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7288:66: error: expected ')' before 'TSRMLS_CC' | |
7288 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7288:28: error: too few arguments to function 'zend_parse_parameters' | |
7288 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7290:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7290 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7294:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7294 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7305:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7305 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7309:7: note: in expansion of macro 'pdf_catch' | |
7309 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_option': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7343:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7343 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7345:62: error: expected ')' before 'TSRMLS_CC' | |
7345 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7345:24: error: too few arguments to function 'zend_parse_parameters' | |
7345 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7347:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7347 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7359:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7359 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7359:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7359 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7359:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7359 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7361:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7361 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7365:66: error: expected ')' before 'TSRMLS_CC' | |
7365 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7365:28: error: too few arguments to function 'zend_parse_parameters' | |
7365 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7367:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7367 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7373:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7373 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7384:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7384 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7388:7: note: in expansion of macro 'pdf_catch' | |
7388 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_parameter': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7417:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7417 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7419:62: error: expected ')' before 'TSRMLS_CC' | |
7419 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7419:24: error: too few arguments to function 'zend_parse_parameters' | |
7419 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7421:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7421 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7432 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7432 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7432 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7434:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7434 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7438:66: error: expected ')' before 'TSRMLS_CC' | |
7438 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7438:28: error: too few arguments to function 'zend_parse_parameters' | |
7438 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7440:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7440 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7445:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7445 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7456:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7456 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7458:23: error: expected ')' before 'TSRMLS_CC' | |
7458 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_get_option() and PDF_get_string()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7458:1: error: too few arguments to function 'php_error_docref' | |
7458 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_get_option() and PDF_get_string()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7463:7: note: in expansion of macro 'pdf_catch' | |
7463 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_pdi_value': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7520:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7520 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7522:62: error: expected ')' before 'TSRMLS_CC' | |
7522 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7522:24: error: too few arguments to function 'zend_parse_parameters' | |
7522 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7524:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7524 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7535 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7535 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7535 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7537:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7537 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7541:66: error: expected ')' before 'TSRMLS_CC' | |
7541 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7541:28: error: too few arguments to function 'zend_parse_parameters' | |
7541 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7543:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7543 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7548:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7548 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7559:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7559 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7560:23: error: expected ')' before 'TSRMLS_CC' | |
7560 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_number()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7560:1: error: too few arguments to function 'php_error_docref' | |
7560 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_number()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7564:7: note: in expansion of macro 'pdf_catch' | |
7564 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_string': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7598:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7598 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7600:62: error: expected ')' before 'TSRMLS_CC' | |
7600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7600:24: error: too few arguments to function 'zend_parse_parameters' | |
7600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7602:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7602 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7613:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7613 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7613:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7613 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7613:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7613 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7615:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7615 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7619:66: error: expected ')' before 'TSRMLS_CC' | |
7619 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7619:28: error: too few arguments to function 'zend_parse_parameters' | |
7619 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7621:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7621 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7626:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7626 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7637:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7637 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7641:7: note: in expansion of macro 'pdf_catch' | |
7641 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_get_value': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7682:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7682 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7684:62: error: expected ')' before 'TSRMLS_CC' | |
7684 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7684:24: error: too few arguments to function 'zend_parse_parameters' | |
7684 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7686:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7686 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7697 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7697 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7697 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7699:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7699 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7703:66: error: expected ')' before 'TSRMLS_CC' | |
7703 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7703:28: error: too few arguments to function 'zend_parse_parameters' | |
7703 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7705:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7705 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7710:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7710 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7721:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7721 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7723:23: error: expected ')' before 'TSRMLS_CC' | |
7723 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_get_option()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7723:1: error: too few arguments to function 'php_error_docref' | |
7723 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_get_option()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7728:7: note: in expansion of macro 'pdf_catch' | |
7728 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_font': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7767:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7767 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7769:62: error: expected ')' before 'TSRMLS_CC' | |
7769 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7769:24: error: too few arguments to function 'zend_parse_parameters' | |
7769 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7771:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7771 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7783 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7783 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7783 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7785:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7785 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7789:66: error: expected ')' before 'TSRMLS_CC' | |
7789 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7789:28: error: too few arguments to function 'zend_parse_parameters' | |
7789 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7791:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7791 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7797:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7797 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7808:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7808 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7812:7: note: in expansion of macro 'pdf_catch' | |
7812 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_graphics': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7852:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7852 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7854:62: error: expected ')' before 'TSRMLS_CC' | |
7854 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7854:24: error: too few arguments to function 'zend_parse_parameters' | |
7854 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7856:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7856 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7868:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7868 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7868:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7868 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7868:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7868 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7870:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7870 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7874:66: error: expected ')' before 'TSRMLS_CC' | |
7874 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7874:28: error: too few arguments to function 'zend_parse_parameters' | |
7874 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7876:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7876 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7882:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7882 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7893:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7893 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7897:7: note: in expansion of macro 'pdf_catch' | |
7897 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_image': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7938:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7938 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7940:62: error: expected ')' before 'TSRMLS_CC' | |
7940 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7940:24: error: too few arguments to function 'zend_parse_parameters' | |
7940 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7942:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7942 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7954:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7954 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7954:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7954 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7954:9: note: in expansion of macro 'P_FROM_OBJECT' | |
7954 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7956:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
7956 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:7960:66: error: expected ')' before 'TSRMLS_CC' | |
7960 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7960:28: error: too few arguments to function 'zend_parse_parameters' | |
7960 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7962:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7962 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7968:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
7968 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7979:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
7979 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:7983:7: note: in expansion of macro 'pdf_catch' | |
7983 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_matchbox': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8023:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8023 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8025:62: error: expected ')' before 'TSRMLS_CC' | |
8025 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8025:24: error: too few arguments to function 'zend_parse_parameters' | |
8025 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8027:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8027 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8039 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8039 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8039 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8041:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8041 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8045:66: error: expected ')' before 'TSRMLS_CC' | |
8045 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8045:28: error: too few arguments to function 'zend_parse_parameters' | |
8045 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8047:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8047 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8053:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8053 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8064:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8064 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8068:7: note: in expansion of macro 'pdf_catch' | |
8068 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_path': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8108:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8108 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8110:62: error: expected ')' before 'TSRMLS_CC' | |
8110 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8110:24: error: too few arguments to function 'zend_parse_parameters' | |
8110 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8112:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8112 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8124:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8124 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8124:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8124 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8124:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8124 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8126:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8126 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8130:66: error: expected ')' before 'TSRMLS_CC' | |
8130 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8130:28: error: too few arguments to function 'zend_parse_parameters' | |
8130 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8132:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8132 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8138:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8138 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8149:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8149 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8153:7: note: in expansion of macro 'pdf_catch' | |
8153 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_pdi_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8194:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8194 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8196:62: error: expected ')' before 'TSRMLS_CC' | |
8196 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8196:24: error: too few arguments to function 'zend_parse_parameters' | |
8196 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8198:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8198 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8210:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8210 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8210:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8210 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8210:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8210 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8212:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8212 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8216:66: error: expected ')' before 'TSRMLS_CC' | |
8216 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8216:28: error: too few arguments to function 'zend_parse_parameters' | |
8216 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8218:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8218 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8224:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8224 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8235:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8235 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8239:7: note: in expansion of macro 'pdf_catch' | |
8239 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_pvf': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8274:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8274 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8276:62: error: expected ')' before 'TSRMLS_CC' | |
8276 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8276:24: error: too few arguments to function 'zend_parse_parameters' | |
8276 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8278:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8278 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8290:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8290 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8290:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8290 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8290:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8290 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8292:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8292 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8296:66: error: expected ')' before 'TSRMLS_CC' | |
8296 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8296:28: error: too few arguments to function 'zend_parse_parameters' | |
8296 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8298:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8298 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8304:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8304 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8315:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8315 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8319:7: note: in expansion of macro 'pdf_catch' | |
8319 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_table': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8353:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8353 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8355:62: error: expected ')' before 'TSRMLS_CC' | |
8355 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8355:24: error: too few arguments to function 'zend_parse_parameters' | |
8355 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8357:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8357 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8368 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8368 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8368 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8370:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8370 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8374:66: error: expected ')' before 'TSRMLS_CC' | |
8374 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8374:28: error: too few arguments to function 'zend_parse_parameters' | |
8374 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8376:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8376 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8381:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8381 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8392:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8392 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8396:7: note: in expansion of macro 'pdf_catch' | |
8396 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_textflow': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8429:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8429 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8431:62: error: expected ')' before 'TSRMLS_CC' | |
8431 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8431:24: error: too few arguments to function 'zend_parse_parameters' | |
8431 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8433:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8433 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8444 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8444 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8444 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8446:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8446 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8450:66: error: expected ')' before 'TSRMLS_CC' | |
8450 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8450:28: error: too few arguments to function 'zend_parse_parameters' | |
8450 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8452:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8452 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8457:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8457 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8468:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8468 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8472:7: note: in expansion of macro 'pdf_catch' | |
8472 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_info_textline': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8511:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8511 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8513:62: error: expected ')' before 'TSRMLS_CC' | |
8513 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8513:24: error: too few arguments to function 'zend_parse_parameters' | |
8513 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8515:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8515 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8529 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8529 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8529 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8531:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8531 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8535:66: error: expected ')' before 'TSRMLS_CC' | |
8535 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8535:28: error: too few arguments to function 'zend_parse_parameters' | |
8535 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8537:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8537 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8545:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8545 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8556:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8556 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8560:7: note: in expansion of macro 'pdf_catch' | |
8560 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_initgraphics': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8580:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8580 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8582:62: error: expected ')' before 'TSRMLS_CC' | |
8582 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8582:24: error: too few arguments to function 'zend_parse_parameters' | |
8582 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8584:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8584 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8596:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8596 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8600:66: error: expected ')' before 'TSRMLS_CC' | |
8600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8600:28: error: too few arguments to function 'zend_parse_parameters' | |
8600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8602:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8602 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8606:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8606 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8617:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8617 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8619:23: error: expected ')' before 'TSRMLS_CC' | |
8619 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_set_graphics_option()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8619:1: error: too few arguments to function 'php_error_docref' | |
8619 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_set_graphics_option()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8624:7: note: in expansion of macro 'pdf_catch' | |
8624 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_lineto': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8646:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8646 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8648:62: error: expected ')' before 'TSRMLS_CC' | |
8648 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8648:24: error: too few arguments to function 'zend_parse_parameters' | |
8648 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8650:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8650 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8662:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8662 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8666:66: error: expected ')' before 'TSRMLS_CC' | |
8666 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8666:28: error: too few arguments to function 'zend_parse_parameters' | |
8666 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8668:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8668 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8672:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8672 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8683:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8683 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8687:7: note: in expansion of macro 'pdf_catch' | |
8687 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_3ddata': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8720:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8720 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8722:62: error: expected ')' before 'TSRMLS_CC' | |
8722 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8722:24: error: too few arguments to function 'zend_parse_parameters' | |
8722 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8724:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8724 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8736 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8736 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8736 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8738:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8738 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8742:66: error: expected ')' before 'TSRMLS_CC' | |
8742 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8742:28: error: too few arguments to function 'zend_parse_parameters' | |
8742 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8744:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8744 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8750:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8750 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8761:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8761 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8765:7: note: in expansion of macro 'pdf_catch' | |
8765 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_asset': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8805:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8805 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8807:62: error: expected ')' before 'TSRMLS_CC' | |
8807 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8807:24: error: too few arguments to function 'zend_parse_parameters' | |
8807 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8809:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8809 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8822:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8822 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8822:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8822 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8822:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8822 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8824:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8824 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8828:66: error: expected ')' before 'TSRMLS_CC' | |
8828 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8828:28: error: too few arguments to function 'zend_parse_parameters' | |
8828 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8830:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8830 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8837:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8837 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8848:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8848 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8852:7: note: in expansion of macro 'pdf_catch' | |
8852 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_font': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8892:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8892 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8894:62: error: expected ')' before 'TSRMLS_CC' | |
8894 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8894:24: error: too few arguments to function 'zend_parse_parameters' | |
8894 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8896:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8896 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8909 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8909 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8909 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8911:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8911 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8915:66: error: expected ')' before 'TSRMLS_CC' | |
8915 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8915:28: error: too few arguments to function 'zend_parse_parameters' | |
8915 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8917:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8917 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8924:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
8924 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8935:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8935 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8939:7: note: in expansion of macro 'pdf_catch' | |
8939 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_graphics': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8979:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8979 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:8981:62: error: expected ')' before 'TSRMLS_CC' | |
8981 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8981:24: error: too few arguments to function 'zend_parse_parameters' | |
8981 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8983:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
8983 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8996:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8996 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8996:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8996 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8996:9: note: in expansion of macro 'P_FROM_OBJECT' | |
8996 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:8998:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
8998 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9002:66: error: expected ')' before 'TSRMLS_CC' | |
9002 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9002:28: error: too few arguments to function 'zend_parse_parameters' | |
9002 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9004:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9004 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9011:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9011 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9022:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9022 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9026:7: note: in expansion of macro 'pdf_catch' | |
9026 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_iccprofile': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9060:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9060 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9062:62: error: expected ')' before 'TSRMLS_CC' | |
9062 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9062:24: error: too few arguments to function 'zend_parse_parameters' | |
9062 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9064:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9064 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9076 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9076 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9076 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9078:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9078 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9082:66: error: expected ')' before 'TSRMLS_CC' | |
9082 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9082:28: error: too few arguments to function 'zend_parse_parameters' | |
9082 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9084:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9084 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9090:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9090 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9101:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9101 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9105:7: note: in expansion of macro 'pdf_catch' | |
9105 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_load_image': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9144:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9144 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9146:62: error: expected ')' before 'TSRMLS_CC' | |
9146 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9146:24: error: too few arguments to function 'zend_parse_parameters' | |
9146 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9148:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9148 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9161 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9161 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9161 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9163:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9163 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9167:66: error: expected ')' before 'TSRMLS_CC' | |
9167 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9167:28: error: too few arguments to function 'zend_parse_parameters' | |
9167 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9169:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9169 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9176:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9176 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9187:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9187 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9191:7: note: in expansion of macro 'pdf_catch' | |
9191 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_makespotcolor': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9218:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9218 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9220:62: error: expected ')' before 'TSRMLS_CC' | |
9220 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9220:24: error: too few arguments to function 'zend_parse_parameters' | |
9220 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9222:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9222 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9233 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9233 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9233 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9235:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9235 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9239:66: error: expected ')' before 'TSRMLS_CC' | |
9239 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9239:28: error: too few arguments to function 'zend_parse_parameters' | |
9239 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9241:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9241 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9246:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9246 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9257:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9257 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9261:7: note: in expansion of macro 'pdf_catch' | |
9261 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_mc_point': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9293:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9293 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9295:62: error: expected ')' before 'TSRMLS_CC' | |
9295 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9295:24: error: too few arguments to function 'zend_parse_parameters' | |
9295 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9297:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9297 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9309 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9309 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9309 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9311:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9311 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9315:66: error: expected ')' before 'TSRMLS_CC' | |
9315 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9315:28: error: too few arguments to function 'zend_parse_parameters' | |
9315 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9317:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9317 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9323:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9323 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9334:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9334 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9338:7: note: in expansion of macro 'pdf_catch' | |
9338 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_moveto': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9360:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9360 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9362:62: error: expected ')' before 'TSRMLS_CC' | |
9362 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9362:24: error: too few arguments to function 'zend_parse_parameters' | |
9362 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9364:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9364 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9374 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9374 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9374 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9376:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9376 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9380:66: error: expected ')' before 'TSRMLS_CC' | |
9380 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9380:28: error: too few arguments to function 'zend_parse_parameters' | |
9380 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9382:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9382 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9386:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9386 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9397:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9397 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9401:7: note: in expansion of macro 'pdf_catch' | |
9401 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_open_ccitt': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9458:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9458 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9460:62: error: expected ')' before 'TSRMLS_CC' | |
9460 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9460:24: error: too few arguments to function 'zend_parse_parameters' | |
9460 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9462:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9462 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9473 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9473 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9473 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9475:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9475 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9479:66: error: expected ')' before 'TSRMLS_CC' | |
9479 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9479:28: error: too few arguments to function 'zend_parse_parameters' | |
9479 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9481:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9481 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9486:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9486 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9497:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9497 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9498:23: error: expected ')' before 'TSRMLS_CC' | |
9498 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9498:1: error: too few arguments to function 'php_error_docref' | |
9498 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9502:7: note: in expansion of macro 'pdf_catch' | |
9502 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_open_file': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9529:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9529 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9531:62: error: expected ')' before 'TSRMLS_CC' | |
9531 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9531:24: error: too few arguments to function 'zend_parse_parameters' | |
9531 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9533:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9533 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9544 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9544 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9544 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9546:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9546 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9550:66: error: expected ')' before 'TSRMLS_CC' | |
9550 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9550:28: error: too few arguments to function 'zend_parse_parameters' | |
9550 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9552:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9552 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9557:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9557 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9568:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9568 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9569:23: error: expected ')' before 'TSRMLS_CC' | |
9569 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_document()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9569:1: error: too few arguments to function 'php_error_docref' | |
9569 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_document()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9572:41: error: expected ')' before 'TSRMLS_CC' | |
9572 | if (php_check_open_basedir(filename TSRMLS_CC)) { | |
| ^~~~~~~~~~ | |
| ) | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9579:7: note: in expansion of macro 'pdf_catch' | |
9579 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_open_image_file': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9624:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9624 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9626:62: error: expected ')' before 'TSRMLS_CC' | |
9626 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9626:24: error: too few arguments to function 'zend_parse_parameters' | |
9626 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9628:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9628 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9641 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9641 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9641 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9643:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9643 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9647:66: error: expected ')' before 'TSRMLS_CC' | |
9647 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9647:28: error: too few arguments to function 'zend_parse_parameters' | |
9647 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9649:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9649 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9656:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9656 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9667:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9667 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9668:23: error: expected ')' before 'TSRMLS_CC' | |
9668 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9668:1: error: too few arguments to function 'php_error_docref' | |
9668 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9672:7: note: in expansion of macro 'pdf_catch' | |
9672 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_open_pdi_document': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9705:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9705 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9707:62: error: expected ')' before 'TSRMLS_CC' | |
9707 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9707:24: error: too few arguments to function 'zend_parse_parameters' | |
9707 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9709:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9709 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9721 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9721 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9721 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9723:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9723 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9727:66: error: expected ')' before 'TSRMLS_CC' | |
9727 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9727:28: error: too few arguments to function 'zend_parse_parameters' | |
9727 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9729:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9729 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9735:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9735 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9746:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9746 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9750:7: note: in expansion of macro 'pdf_catch' | |
9750 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_open_pdi_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9789:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9789 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9791:62: error: expected ')' before 'TSRMLS_CC' | |
9791 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9791:24: error: too few arguments to function 'zend_parse_parameters' | |
9791 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9793:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9793 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9804 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9804 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9804 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9806:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9806 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9810:66: error: expected ')' before 'TSRMLS_CC' | |
9810 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9810:28: error: too few arguments to function 'zend_parse_parameters' | |
9810 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9812:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9812 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9817:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9817 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9828:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9828 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9832:7: note: in expansion of macro 'pdf_catch' | |
9832 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_pcos_get_number': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9865:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9865 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9867:62: error: expected ')' before 'TSRMLS_CC' | |
9867 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9867:24: error: too few arguments to function 'zend_parse_parameters' | |
9867 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9869:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9869 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9880 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9880 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9880 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9882:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9882 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9886:66: error: expected ')' before 'TSRMLS_CC' | |
9886 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9886:28: error: too few arguments to function 'zend_parse_parameters' | |
9886 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9888:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9888 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9893:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9893 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9904:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9904 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9908:7: note: in expansion of macro 'pdf_catch' | |
9908 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_pcos_get_string': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9941:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9941 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9943:62: error: expected ')' before 'TSRMLS_CC' | |
9943 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9943:24: error: too few arguments to function 'zend_parse_parameters' | |
9943 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9945:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9945 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9956 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9956 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' | |
9956 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9958:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
9958 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:9962:66: error: expected ')' before 'TSRMLS_CC' | |
9962 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9962:28: error: too few arguments to function 'zend_parse_parameters' | |
9962 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9964:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9964 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9969:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
9969 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9980:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
9980 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:9984:7: note: in expansion of macro 'pdf_catch' | |
9984 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_pcos_get_stream': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10036:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10036 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10038:62: error: expected ')' before 'TSRMLS_CC' | |
10038 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10038:24: error: too few arguments to function 'zend_parse_parameters' | |
10038 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10040:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10040 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10052 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10052 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10052 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10054:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10054 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10058:66: error: expected ')' before 'TSRMLS_CC' | |
10058 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10058:28: error: too few arguments to function 'zend_parse_parameters' | |
10058 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10060:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10060 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10066:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10066 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10077:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10077 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10081:7: note: in expansion of macro 'pdf_catch' | |
10081 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_place_image': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10123:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10123 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10125:62: error: expected ')' before 'TSRMLS_CC' | |
10125 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10125:24: error: too few arguments to function 'zend_parse_parameters' | |
10125 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10127:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10127 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10137 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10137 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10137 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10139:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10139 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10143:66: error: expected ')' before 'TSRMLS_CC' | |
10143 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10143:28: error: too few arguments to function 'zend_parse_parameters' | |
10143 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10145:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10145 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10149:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10149 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10160:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10160 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10161:23: error: expected ')' before 'TSRMLS_CC' | |
10161 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_image()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10161:1: error: too few arguments to function 'php_error_docref' | |
10161 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_image()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10165:7: note: in expansion of macro 'pdf_catch' | |
10165 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_place_pdi_page': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10195:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10195 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10197:62: error: expected ')' before 'TSRMLS_CC' | |
10197 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10197:24: error: too few arguments to function 'zend_parse_parameters' | |
10197 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10199:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10199 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10209 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10209 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10209 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10211:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10211 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10215:66: error: expected ')' before 'TSRMLS_CC' | |
10215 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10215:28: error: too few arguments to function 'zend_parse_parameters' | |
10215 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10217:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10217 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10221:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10221 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10232:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10232 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10233:23: error: expected ')' before 'TSRMLS_CC' | |
10233 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_pdi_page()"); | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10233:1: error: too few arguments to function 'php_error_docref' | |
10233 | php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_pdi_page()"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10237:7: note: in expansion of macro 'pdf_catch' | |
10237 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_poca_delete': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10270:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10270 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10272:62: error: expected ')' before 'TSRMLS_CC' | |
10272 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10272:24: error: too few arguments to function 'zend_parse_parameters' | |
10272 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10274:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10274 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10285:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10285 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10285:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10285 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10285:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10285 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10287:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10287 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10291:66: error: expected ')' before 'TSRMLS_CC' | |
10291 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10291:28: error: too few arguments to function 'zend_parse_parameters' | |
10291 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10293:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10293 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10298:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10298 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10309:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10309 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10313:7: note: in expansion of macro 'pdf_catch' | |
10313 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_poca_insert': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10347:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10347 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10349:62: error: expected ')' before 'TSRMLS_CC' | |
10349 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10349:24: error: too few arguments to function 'zend_parse_parameters' | |
10349 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10351:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10351 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10362:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10362 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10362:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10362 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10362:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10362 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10364:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10364 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10368:66: error: expected ')' before 'TSRMLS_CC' | |
10368 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10368:28: error: too few arguments to function 'zend_parse_parameters' | |
10368 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10370:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10370 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10375:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10375 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10386:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10386 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10390:7: note: in expansion of macro 'pdf_catch' | |
10390 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_poca_new': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10419:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10419 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10421:62: error: expected ')' before 'TSRMLS_CC' | |
10421 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10421:24: error: too few arguments to function 'zend_parse_parameters' | |
10421 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10423:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10423 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10434:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10434 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10434:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10434 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10434:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10434 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10436:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10436 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10440:66: error: expected ')' before 'TSRMLS_CC' | |
10440 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10440:28: error: too few arguments to function 'zend_parse_parameters' | |
10440 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10442:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10442 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10447:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10447 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10458:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10458 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10462:7: note: in expansion of macro 'pdf_catch' | |
10462 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_poca_remove': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10496:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10496 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10498:62: error: expected ')' before 'TSRMLS_CC' | |
10498 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10498:24: error: too few arguments to function 'zend_parse_parameters' | |
10498 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10500:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10500 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10511:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10511 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10511:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10511 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10511:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10511 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10513:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10513 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10517:66: error: expected ')' before 'TSRMLS_CC' | |
10517 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10517:28: error: too few arguments to function 'zend_parse_parameters' | |
10517 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10519:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10519 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10524:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10524 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10535:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10535 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10539:7: note: in expansion of macro 'pdf_catch' | |
10539 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_process_pdi': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10579:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10579 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10581:62: error: expected ')' before 'TSRMLS_CC' | |
10581 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10581:24: error: too few arguments to function 'zend_parse_parameters' | |
10581 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10583:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10583 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10594 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10596:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10596 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10600:66: error: expected ')' before 'TSRMLS_CC' | |
10600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10600:28: error: too few arguments to function 'zend_parse_parameters' | |
10600 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10602:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10602 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10607:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10607 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10618:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10618 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10622:7: note: in expansion of macro 'pdf_catch' | |
10622 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_rect': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10646:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10646 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10648:62: error: expected ')' before 'TSRMLS_CC' | |
10648 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10648:24: error: too few arguments to function 'zend_parse_parameters' | |
10648 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10650:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10650 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:178:13: error: too few arguments to function 'php_error_docref' | |
178 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/main/php.h:327:23: note: declared here | |
327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | |
| ^~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
179 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' | |
10660 | P_FROM_OBJECT(pdf, object); | |
| ^~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10662:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10662 | SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10666:66: error: expected ')' before 'TSRMLS_CC' | |
10666 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10666:28: error: too few arguments to function 'zend_parse_parameters' | |
10666 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pdflib/pdf.c:26: | |
/usr/local/include/php/Zend/zend_API.h:341:22: note: declared here | |
341 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10668:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10668 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
168 | RESTORE_ERROR_HANDLING(); \ | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10672:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' | |
10672 | ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' | |
156 | zend_restore_error_handling(&error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10683:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' | |
10683 | RESTORE_ERROR_HANDLING(); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/pear/temp/pdflib/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' | |
145 | PDF_get_errmsg(pdf) TSRMLS_CC); \ | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10687:7: note: in expansion of macro 'pdf_catch' | |
10687 | } pdf_catch; | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c: In function 'zif_pdf_restore': | |
/tmp/pear/temp/pdflib/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' | |
154 | zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) | |
| ^~~~~~~~~ | |
/tmp/pear/temp/pdflib/php_wrapped.c:10707:9: note: in expansion of macro 'SET_ERROR_HANDLING' | |
10707 | SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /tmp/pear/temp/pdflib/pdf.c:530: | |
/tmp/pear/temp/pdflib/php_wrapped.c:10709:62: error: expected ')' before 'TSRMLS_CC' | |
10709 | if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment